Those darn format wankers. Whoops, I meant .prj, you're right.
Thanks for the help all! On Tue, Apr 10, 2012 at 12:07 PM, Frank Warmerdam <[email protected]>wrote: > On Tue, Apr 10, 2012 at 8:43 AM, Daniel Weitzenfeld > <[email protected]> wrote: > > I've got shapefiles from the state of Texas describing their new > political > > districts. It's the first shapefile I've seen where the coordinates > don't > > seem to be in lon/lat; rather, they look like this: > > [1413007.7300121039, 1159556.348466374], [1413007.6640587151, > > 1159558.0074478425], [1413007.5669405311, 1159560.4406569004].... > > > > Anyone know of the top of their head what the units are here, and how I > map > > them to lon/lat? > > > > Below is the accompanying DBF. Thanks in advance! > > Daniel, > > I presume this is actually the .prj file. > > > > PROJCS["NAD_1983_Lambert_Conformal_Conic",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000.0],PARAMETER["False_Northing",1000000.0],PARAMETER["Central_Meridian",-100.0],PARAMETER["Standard_Parallel_1",34.91666666666666],PARAMETER["Standard_Parallel_2",27.41666666666667],PARAMETER["Latitude_Of_Origin",31.16666666666667],UNIT["Meter",1.0]] > > > > If you have ogr2ogr installed you would do: > > ogr2ogr output.shp -t_srs WGS84 your.shp > > The ogr2ogr command is part of GDAL/OGR: > > http://www.gdal.org/ > > It is popular among format wankers... > > Note that you also need to have PROJ.4 installed > for use by ogr2ogr. It is the underlying projection > engine. > > http://proj.osgeo.org/ > > Best regards, > -- > > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [email protected] > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Software Developer >
_______________________________________________ Geowanking mailing list [email protected] http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
