[postgis-users] How to reproject data with custom projection?

Aren Cambre aren at arencambre.com
Sun Jan 9 19:10:34 PST 2011


Ben and Paul,

Thank you!

I didn't know about http://prj2epsg.org. Nice site.

I was aware of http://spatialreference.org/, but in retrospect I was trying
to find an exact match of the entire WKT using that site's search engine and
Google. Thanks for the tip about searching on shorter parts. Yeah, I know,
"how to use search engines 101". :-)

Aren

On Sat, Jan 8, 2011 at 11:35 PM, Ben Madin
<lists at remoteinformation.com.au>wrote:

> Aren,
>
> You need a reference projection, you are correct.
>
> For the sake of the exercise, bookmark
>
> http://spatialreference.org/
>
> and then try the search box for parts of the string which are maybe unusual
> :
>
> I tried
>
> *"Standard_Parallel_1",27.5 **Lambert_Conformal_Conic*
>
>
> in the search box.
>
> then I reckon you can probably choose any of the three results I get -
> there appears to be very little difference between them and your string.
>
> If you haven't used this site before, looking at the
>
>
>    - Well Known Text as HTML<http://spatialreference.org/ref/epsg/3082/html/>
>    - Human-Readable OGC WKT<http://spatialreference.org/ref/epsg/3082/prettywkt/>
>    - Proj4 <http://spatialreference.org/ref/epsg/3082/proj4/>
>    - OGC WKT <http://spatialreference.org/ref/epsg/3082/ogcwkt/>
>    - JSON <http://spatialreference.org/ref/epsg/3082/json/>
>    - GML <http://spatialreference.org/ref/epsg/3082/gml/>
>    - ESRI WKT <http://spatialreference.org/ref/epsg/3082/esriwkt/>
>    - .PRJ File <http://spatialreference.org/ref/epsg/3082/prj/>
>
> options will help.
>
> Good luck (from the antipodes, so take your chances)
>
> cheers
>
> Ben
>
>
>
> On 09/01/2011, at 3:18 PM, Aren Cambre wrote:
>
> I have a SHP with this in its PRJ file:
>
> *
> PROJCS["Custom",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",1500000.0],PARAMETER["False_Northing",5000000.0],PARAMETER["Central_Meridian",-100.0],PARAMETER["Standard_Parallel_1",27.5],PARAMETER["Standard_Parallel_2",35.0],PARAMETER["Central_Parallel",18.0],UNIT["Meter",1.0]]
> *
>
>
> I need to get this into 3081 somehow since it's a good projection for
> Texas.
>
> I have some 3081-reprojected PoistGIS data (originally 4269) for Texas
> already. If I load this SHP into QGIS along with other 3081 data, it appears
> well below the other data. QGIS indicates this SHP has a custom projection.
>
> If I am not mistaken, to reproject with PostGIS, I need something besides
> -1 in the geometry table. So I guess I need to specify some SRID with *-s*when I run shp2pgsql? If so, what projection is this?
>
> Thanks, and I apologize in advance for my naivety.
>
> Aren
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110109/42a5ec00/attachment.html>


More information about the postgis-users mailing list