- Messages
- 5,945
- Country
Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Geogratis from Natural Resources CanadaAny Shapefiles for Canada, Saskatoon?
I have fount some but none include buildings data
C:\OSGeo4W64\bin\gdaldem color-relief "D:\Global Surface Water\occurrence\occurrence_150E_0N.tif" "D:\Global Surface Water\Potrace Batches\occurrence.txt" "D:\Global Surface Water\Potrace Batches\temp.tif"
C:\OSGeo4W64\bin\gdal_translate -of PNM -ot Byte "D:\Global Surface Water\Potrace Batches\temp.tif" "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.pgm"
del "D:\Global Surface Water\Potrace Batches\temp.tif"
potrace -b geojson -o "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.json" "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.pgm" -L 150.0 -B -10.0 -W 10.0 -H 10.0
del "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.pgm"
del "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.pgm.aux.xml"
C:\OSGeo4W64\bin\ogr2ogr -f "ESRI Shapefile" -progress "D:\Global Surface Water\occurrence\Shapefiles\occurrence_150E_0N.shp" "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.json"
del "D:\Global Surface Water\Potrace Batches\occurrence_150E_0N.json"
pause
https://maps.googleapis.com/maps/vt?pb=!1m5!1m4!1i{z}!2i{x}!3i{y}!4i256!2m3!1e0!2sm!3i431136040!3m14!2sen-US!3sUS!5e18!12m1!1e68!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjF8cC52Om9mZnxwLmw6MHxwLnM6MCxzLnQ6NXxwLnY6b2ZmLHMudDo4MnxzLmU6Z3xwLnY6b24scy50OjgyfHMuZTpnLmZ8cC52Om9ufHAuYzojZmZmZmZmZmYscy50OjgyfHMuZTpsfHAudjpvZmYscy50OjJ8cC52Om9mZixzLnQ6M3xwLnY6b2ZmLHMudDo0fHAudjpvZmYscy50OjZ8cy5lOmd8cC52Om9ufHAuYzojZmYwMDAwMDAscy50OjZ8cy5lOmx8cC52Om9mZixzLnQ6NnxzLmU6bC5pfHAudjpvZmY
<GDAL_WMS>
<!-- BlackWater -->
<Service name="TMS">
<ServerUrl>https://maps.googleapis.com/maps/vt?pb=!1m5!1m4!1i${z}!2i${x}!3i${y}!4i256!2m3!1e0!2sm!3i431136040!3m14!2sen-US!3sUS!5e18!12m1!1e68!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcy50OjF8cC52Om9mZnxwLmw6MHxwLnM6MCxzLnQ6NXxwLnY6b2ZmLHMudDo4MnxzLmU6Z3xwLnY6b24scy50OjgyfHMuZTpnLmZ8cC52Om9ufHAuYzojZmZmZmZmZmYscy50OjgyfHMuZTpsfHAudjpvZmYscy50OjJ8cC52Om9mZixzLnQ6M3xwLnY6b2ZmLHMudDo0fHAudjpvZmYscy50OjZ8cy5lOmd8cC52Om9ufHAuYzojZmYwMDAwMDAscy50OjZ8cy5lOmx8cC52Om9mZixzLnQ6NnxzLmU6bC5pfHAudjpvZmY</ServerUrl>
<SRS>EPSG:3857</SRS>
<ImageFormat>image/png</ImageFormat>
<Transparent>False</Transparent>
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>22</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<UnsafeSSL>true</UnsafeSSL>
<ZeroBlockHttpCodes>204,303,400,404,500,501</ZeroBlockHttpCodes>
<ZeroBlockOnServerException>true</ZeroBlockOnServerException>
<MaxConnections>4</MaxConnections>
</GDAL_WMS>
gdalwarp -s_srs EPSG:3857 -t_srs EPSG:4326 -te -89.0625 42.5390625 -88.59375 42.890625 -tr 0.00005 0.00005 -ot Byte -co "COMPRESS=LZW" -co "tfw=yes" "C:/Users/dickl/Desktop/Blackwater.xml" "C:/Users/dickl/Desktop/LOD8_194_134.tif"