[Xastir] Converting State GIS Maps

Tom Russo russo at bogoflux.losalamos.nm.us
Wed Mar 31 20:52:03 EST 2004


On Wed, Mar 31, 2004 at 06:38:51PM -0700, a Mr. Richard Feyler of Fort Lee, New Jersey <russo at bogoflux.losalamos.nm.us> writes 'Dear Rosanne Rosannadanna':
> I'd say you might be better off trying to use ogr2ogr for this
> purpose, but for the life of me I have no idea what WKT to use (don't
> see an obvious EPSG number for that transformation).  Gerry might know?

Yes I do.  It's EPSG:26986.  Got that from WKT_ADAM.TXT out of
http://www.remotesensing.org/geotiff/proj_list/Wkt_adam.zip

So:

  ogr2ogr -t_srs EPSG:4326 -s_srs EPSG:26986 -f "ESRI Shapefile" outputdir input_shapefile.shp

will go from NAD83/Massachussetts Mainland state plane system to WGS
84 lat/long.

I tried to do both the shpcs2cs command of my last email, and this
ogr2ogr command and got shapefiles with the same extents reported by
shpinfo.  So it's six of one, half a dozen of another.

Hope that helped.
-- 
Tom Russo    KM5VY     SAR502  DM64ux         http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
 "It is inhumane in my opinion to force people who have a genuine
  medical need for coffee to wait in line behind people who apparently
  view it as some kind of recreational activity."  -- Dave Barry



More information about the Xastir mailing list