Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c:OSGeo4Wbinogr2ogr.exe -skipfailures -f PostgreSQL PG:"dbname='dbgis' host='localhost' port='5432' user='postgres' password='123456'" "be32d51207af4b1a8d0cf6163c282274.mif"
- C:curlbincurl.exe -u admin:123456 -XPOST -H "Content-type: text/xml" -d "<featureType><name>be32d51207af4b1a8d0cf6163c282274</name></featureType>" http://localhost:8080/geoserver/rest/workspaces/a77x7/datastores/PostGis/featuretypes
- C:curlbincurl.exe -u admin:123456 -XPUT -H "Content-type: application/xml" -d "<layer><enabled>true</enabled></layer>" http://localhost:8080/geoserver/rest/layers/be32d51207af4b1a8d0cf6163c282274
- C:curlbincurl.exe -u admin:123456 -XPUT -H "Content-type: application/xml" -d @"...crs.xml" http://localhost:8080/geoserver/rest/workspaces/a77x7/datastores/PostGis/featuretypes/be32d51207af4b1a8d0cf6163c282274
- <featureType><enabled>true</enabled><nativeCRS>
- PROJCS["unnamed",GEOGCS["unnamed",DATUM["Pulkovo_1942",SPHEROID["Krassovsky",6378245,298.3],TOWGS84[24,-123,-94,0.02,-0.25,-0.13,1.1]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",75],PARAMETER["scale_factor",1],PARAMETER["false_easting",13500000],PARAMETER["false_northing",0],UNIT["Meter",1.0]]
- </nativeCRS><srs>EPSG:4326</srs><projectionPolicy>NONE</projectionPolicy></featureType>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement