Undocumented KML Output Conversion, GDAL

As noted here: http://gis.stackexchange.com/questions/18280/batch-convert-geotiffs-to-kmz-files, an undocumented method for conversion to KML exists in GDAL’s gdal_translate as format KMLSUPEROVERLAY.  To do this with an existing image, such as a geotiff, your command will be the following format (on Windows): C:OSGeo4W64>gdal_translate -of KMLSUPEROVERLAY   FORMAT=JPEGwith an example path, this looks like:C:OSGeo4W64>gdal_translate -of KMLSUPEROVERLAY D:downloadstile177_12orthos177.tif D:downloadstile177_12orthos177.kml -co FORMAT=JPEGThis will output…

Disk I/O Error on sqlite/spatialite

On running sqlite CREATE and INSERT queries, I was getting some mysterious errors, like “Error: disk I/O error”, despite having the proper permissions on the .sqlite file and adequate space in the directory.  I then broke down the compound query to a simple query and was getting “GEOS error: IllegalArgumentException: Points of LinearRing do not…

github push 403 and Permission denied

Initially I was getting error: The requested URL returned error: 403 Forbidden while accessing https://github.com/.. on $ git push origin master I read a forum post that recommended $ vi .git/config and changing the url line from https://github.com/.. to ssh://github.com/.. and then generating public/private keys and adding this to github.  After doing so I was…

Quick GIS tip of the day, 6/10/14

To keep symbology of a shapefile or geodatabase feature class, save a layer as a “layer file” (.lyr).  If you keep this .lyr file in the same relative path location (in the same directory, for instance), it should continue to reference the data and you can just add the .lyr instead of the data itself.  If…

RWD Summit 2014

Here are some notes and thoughts I gathered during the 3-day Responsive Design Summit, which concluded today.  Link to the live document. Design principals Atomic design Stop thinking about websites as collections of pages.  They are collections of elements that, through a browser-based, collaborative, design process, that are mixed together into larger and larger collections. …

… geocoding continued

As I had mentioned in previous email Esri has retired it’s public-facing geocoding and routing services. These services are now only available behind their paywall (through an ArcGIS Online subscription). Esri gives UD a fixed number of credits on our subscription that we can use towards their various services.  The cost for use of their…

Plotting and Projecting Coordinates

So you have some data that includes latitude and longitude, you add it to the map … and it doesn’t line up.  You’ve got some spatial reference/projection problem.  Figuring out what coordinate/projection system your data came from is not always straightforward, and often involves looking more deeply into the source of your data (for metadata).…