Sparkblog

Viewing posts tagged javascript

Mapping Exif Files

Posted by: Will Cadell in technology open source tools google maps code 3 years, 7 months ago

This is a quick note on how to map images in a directory purely from their exif files. An exif file is one which contains the meta data of the image. If the image was taken by a phone of GPS enabled camera, then a location will also be contained within that file. To read that directory on the webserver we need to use a CGI script. For our purposes we will use python.

read more / Comments

Encoding GeoJSON Geometry

Posted by: Dustin Sampson in technology mapping web development code open source tools Fiona PyPROJ leaflet 3 years, 9 months ago

GeoJSON is a great format, easy to read/view/use but one thing that really stands out is the verbosity of numbers and its effects on file size.  Yeah in rare cases it “may” be needed but I’m pretty sure a length that is precise to, well less than a millimeter (example: stream length: 6849.41980435 meters) is never needed.  And the other pink elephant in GeoJSON is the number of sig figs used for geometry!

read more / Comments

Recent Posts

Archive

2017
2016
2015
2014
2013
2012

Categories

Tags

Authors

Feeds

RSS / Atom