New answers tagged php
Please check out https://github.com/klokantech/tileserver-php/ might be helpful for you.
If you have tiled map in MBTiles format, you can serve them using ordinary PHP script. All you need is php-sqlite module, which should be included by default. You can try this: mbtiles-php - I'm using similar script in production. With some kind of URL-routing library, you can even simulate standard TMS. Actually, you also can write your own WMS ...
You could use TileMill to make tiles as MBTiles: https://www.mapbox.com/tilemill/ Then use something like python-mbtiles to serve it up: https://github.com/perrygeo/python-mbtiles.
This is a pure PHP polygon class that offers many geometric operations such as union and intersect. The library is released under GNU license. http://www.phpclasses.org/package/2544-PHP-Perform-geometric-operations-on-polygons.html
You may use GeoTools, which is an open source java toolkit, for doing your union/dissolve process, check out this Q/A: combine several polygon objects in one polygon object with geotools (is it possible)?
Your best performance would be obtained by storing the location as a point geometry (longitude,latitude), building a spatial index, and using a search shape which is geodetically correct (an egg-shaped 'circle', which is the search distance deprojected into a geographic reference system). 37 vertices is more than enough points to achieve 99% of the area, ...
We are developing our own application to do exactly this, but we decided to adopt the approach of using the android as the wirless access point and the device to transmit the data to the servers. If you have access and influence with the bus companies, this may be a worthwhile approach Note: our solution is untested and in early days of the development ...
Top 50 recent answers are included