coordinates from dxf map in java

M

martin

Hi,
I have to do a project in java using maps (dxf autocad file) and draw
objects on this map according to some related lat/long coordinates. I
do not know how to map the world coordinates in lat/long to x/y
coordinates on the dxf file.

Hope somebody can help me...

Thx
Martin
 
I

Ike

There are actually a number of different DXF representations. This is what
you need to determine first. AMong these are basic 2D, then there are 3D
polylines, 3D Faces...the list goes on. I think your BEST bet is not so much
in this group but perhaps in comp.graphics.algorithims or an alt.cad.autocad
or comp.cad.autocad. There are some dxf afficionados in those groups who can
likely help you.

The best I can tell you is that DXF is textual, and you are looking for the
lines following a line with a 10. The line after a line with a 10 is an X
coordinate, after a 20 is a Y coordinate, and, as it follows, after a 30 is
a Z coordinate (if there is one). As for mapping one to the other.......I
think that depends on the project description? hth - Ike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top