GPS Json Maps or GeoJSON

Hello everyone

i just bumped into something called Geojson, i was looking for a way to draw my own “world” based on real GPS coordinates … something almost like Pokemon Go, but i don’t want to rely on map views, or design my map in the back-end as tiles

Geojson provides entire country map as json file

would it be possible to use this and draw a very huge, realistic map by code … just simple lines and dots, and map will keep rendering as player moves…

is this easy to implement, or am i dreaming

any help is mostly appreciated

attached is a sample file download from geojson

You probably wound not want to render out the whole map. Mobile devices won’t have enough memory for that.  You would normally just render out what’s on the screen.

Corona SDK can draw lines, rectangles, circles and polygons.

So if that’s adequate and you have all of your data in a way you can search for entries that are within your map’s range, I don’t see why you couldn’t do this.

Rob

Thanks Rob…

first i need to get my current GPS, then i have to figure out an algorithm that extracts data from the json file that is around me, then i have to find a way to draw some kind of a map for this data or elements around me… roads and stuff like that

i’m not sure i’m that good :slight_smile: but i will give it a try …

Kakula

Check out MongoDB for storing and Indexing GeoJSON data and querying efficiently.

https://docs.mongodb.com/manual/reference/geojson/

I was going to use Google maps for my app but they wanted to  $60,000 a year for the API. Mapbox.com were a fair but cheaper but still expensive. So I am rolling my own too.

I have guides here that may help.

Cheap Server:

http://fearby.com/installing-mongodb-onto-a-digital-ocean-ubuntu-14-04-server/

Scaling database calls (I’m using GeoJSON too) 

http://fearby.com/article/application-scalability-on-a-budget-my-journey/

AWS Server 

http://fearby.com/article/creating-an-aws-ec2-ubuntu-14-04-server-with-nginx-node-and-mysql-and-phpmyadmin/

I will have a guide on using MmongoDB clusters in the cloud with http://cloud.mongodb.com soon.

https://cloud.amazon.com

FearTec

Thanks a lot man

i will go through all links deeply

You probably wound not want to render out the whole map. Mobile devices won’t have enough memory for that.  You would normally just render out what’s on the screen.

Corona SDK can draw lines, rectangles, circles and polygons.

So if that’s adequate and you have all of your data in a way you can search for entries that are within your map’s range, I don’t see why you couldn’t do this.

Rob

Thanks Rob…

first i need to get my current GPS, then i have to figure out an algorithm that extracts data from the json file that is around me, then i have to find a way to draw some kind of a map for this data or elements around me… roads and stuff like that

i’m not sure i’m that good :slight_smile: but i will give it a try …

Kakula

Check out MongoDB for storing and Indexing GeoJSON data and querying efficiently.

https://docs.mongodb.com/manual/reference/geojson/

I was going to use Google maps for my app but they wanted to  $60,000 a year for the API. Mapbox.com were a fair but cheaper but still expensive. So I am rolling my own too.

I have guides here that may help.

Cheap Server:

http://fearby.com/installing-mongodb-onto-a-digital-ocean-ubuntu-14-04-server/

Scaling database calls (I’m using GeoJSON too) 

http://fearby.com/article/application-scalability-on-a-budget-my-journey/

AWS Server 

http://fearby.com/article/creating-an-aws-ec2-ubuntu-14-04-server-with-nginx-node-and-mysql-and-phpmyadmin/

I will have a guide on using MmongoDB clusters in the cloud with http://cloud.mongodb.com soon.

https://cloud.amazon.com

FearTec

Thanks a lot man

i will go through all links deeply