cga-harvard / Hypermap-Registry

Hypermap Registry, remote map services made easy for your SDI
https://cga-harvard.github.io/Hypermap-Registry/
MIT License
38 stars 21 forks source link

ESRI rest endpoints with custom spatial references. #25

Open jmwenda opened 8 years ago

jmwenda commented 8 years ago

This is a common problem where some rest endpoints have projections that are not standard. Causing harvesting to stop. i.e PROJCS["NAD_1983_StatePlane_Michigan_South_FIPS_2113_IntlFeet",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",13123359.58005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot",0.3048]] Problem lies with the ArcRest library http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/TaxParcel/TaxParcelQuery/MapServer

capooti commented 8 years ago

could you please provide the line where the process fails?

jmwenda commented 8 years ago

https://gist.github.com/jmwenda/c3796b9bde37f3cfd3b8

capooti commented 8 years ago

so it looks like wkid is not alway provided by the API?