[GRASS-user] Re: Converting DGN files with wrong coordinate info

pmarc paulomarcondes at gmail.com
Mon Jun 26 22:06:24 EDT 2006


HI All, sorry for ressurecting such an old thread...
as it seems usual, it is GDAL related.

2005/5/19, Paulo Marcondes <paulomarcondes at gmail.com>:

> I have two situations:
> 1. SHP in lat-lon non-projected, but with coordinate values in 1.2E6
> scale, where it should read 12...

Actually they were not in lat-lon, but polyconic. Imported with help
from Maciek and  Frank Warmerdam. EPSG has wrong eastings and
northings fo this projection.
So, no longer an issue.

> 2. DGN (argh!) in UTM projection (SAD69, Corrego Alegre, Meridian -45
> ) but coordinates in km instead of metres.

OGR tells this:

> ogrinfo -so 041840hd.dgn elements
INFO: Open of `gis_data/ibge/Ipupiara1840/vetor/041840hd.dgn'
using driver `DGN' successful.

Layer name: elements
Geometry: Unknown (any)
Feature Count: 2121
Extent: (717.805200, 8672.208500) - (772.701700, 8727.932200)
Layer SRS WKT:
(unknown)
Type: Integer (2.0)
Level: Integer (2.0)
GraphicGroup: Integer (4.0)
ColorIndex: Integer (3.0)
Weight: Integer (2.0)
Style: Integer (1.0)
EntityNum: Integer (0.0)
MSLink: Integer (0.0)
Text: String (0.0)

Do someone have a clue on how to overcome this?
-- 
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.229 = GG87vc (http://www.amsat.org/cgi-bin/gridconv)
Debian GNU/Linux = http://rj.debianbrasil.org = http://www.debian.org




More information about the grass-user mailing list