Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I managed to import .dxf into Postgis table, and now have, among others, rows with Point geometries and values in text column (which corespodent with Label values from ACAD .dxf).

What is the best way to display these geometries in Openlayers so they look the same as in any other dxf viewer (format, size, color)? Fonts, sizes and colors are imported into postgis using sql "select *,ogr_style from entities".

The rest of the geometries (lines, polygons) are correctly displayed using HTTP protocol and GeoJSON format, but with labels missing.

Also, is there a way to import Text from .dxf into Postgis as set of lines/polygons? That would also solve the problem.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.