AWS Lambda function: Wrapper around Mapbox Map generator for GEOJSON

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

I want to be able to POST a GEOJSON string to an endpoint and get back an URL to a static image where the GEOJSON geometry is rendered on top. The static image is useful to send by email, share in a chat etc compared to a interactive JavaScript map.

The heavy lifting is done by Mapbox:

[login to view URL]

The API allows you to just put the GEOSJON in the URL. So why not just do that? I would like the function to do 2 things, that Mapbox does not do:

1) Calculate where to center and zoom in on the map

The map needs to match the polygons in the GEOJSON file. Luckily Mapbox already provides inspiration of how to do that:

[login to view URL]

2) Store the image on a shorter URL

Some browsers have issues with URLs longer than around 2000 chars. And some GEOJSON strings will be longer. So we need to store the generated image somewhere.

I'm open to suggestions, but [login to view URL] or just S3 might work. I don't think an URL shortener will work, as it redirects to the real and potentially long URL.

Implementation

I would like this to be implemented in server side JavaScript (node) as a AWS Lambda function.

I've attached a sample GEOSJON file.

Amazon Web Services JavaScript

Nº del proyecto: #11412793

Sobre el proyecto

6 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

intelgeek

Hey there, I've got extensive experience with Amazon AWS and other cloud computing services. You can confirm this by checking out my profile page, you will see lots of AWS related projects. I'm well versed in Linux Más

$260 USD en 5 días
(52 comentarios)
5.7

6 freelancers están ofertando un promedio de $208 por este trabajo

arifjaunpur

Hello, I am Sr. web developer have strong debugging and coding skills. I am full stack developer with good knowledge of Java, PHP, JavaScript, MySQL, MongoDB, AngularJS, JQuery, HTML, Bootstrap, etc. I have creat Más

$300 USD en 7 días
(86 comentarios)
6.7
lawSamuels

Hello i can deliver this project. i have done many similar photo editing projects in the past. I am confident of delivery. Please let me know if you wish to take it further

$155 USD en 3 días
(1 comentario)
2.4