Hello,

I have have a georeferenced DXF file (lambert coordinate) and since JOSM couldn’t place it automatically in its right position on the map when I import the DXF file, one solution would be to convert it to KML or SHP, my questions are :

  • Does the conversion from DXF to KML or SHP is 100% ? I will not have a loss of data from DXF to KML or SHP ?
  • If I were to choose, which format you suggest to convert to, KML or SHP ?
  • Do you know why when I import a georeferenced DXF file in JOSM, it is placed on the center of my screen instead in its right position on the map ?

I know that my question could be a little vague, should you need any other details or clarifications, please don’t hesitate.

Thank you very much

asked 31 May '16, 22:37

Clemapper's gravatar image

Clemapper
86459
accept rate: 0%

1

Did you try to contact the authors of the DXF import plugin directly ? See https://github.com/asrianCron/Dxf-Import -> Contributors

(01 Jun '16, 06:10) escada

This all depends on the software you use to make the conversion. Ideally all software should manage roundtripable conversions, but this is not often the case, especially with proprietary formats like DXF. The fact that your file appear non-georeferenced in JOSM might be a conversion bug. As for other conversion quality metrics, your best bet is to try it out.

The popular gdal toolkit has a versatile conversion tool you should try. If you have Autodesk, you could also open the DXF there and export it to another format.

There's no one-size fits-all for "the best geodata format", it depends on what you want to do. If you're loading it in JOSM, surely the best option is to load it in OSM or PBF format, because it is native to (j)osm. SHP is the lingua franca of vector geodata, but is crufty and has limitations. Geojson/topojson is a modern take on KML-style formats. Gdal has a useful writeup on all those formats, and wikipedia can also be interesting.

permanent link

answered 01 Jun '16, 09:16

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.0k16147244
accept rate: 19%

Thank you very very much for your help. Are you saying that DXF Import is supposed to automatically place in its correct position on the map ? How would JOSM/DXF Import guess that my DXF file is in Lambert coordinate system ?

(01 Jun '16, 10:12) Clemapper
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×520
×45
×4

question asked: 31 May '16, 22:37

question was seen: 2,503 times

last updated: 01 Jun '16, 10:12

powered by OSQA