AWS Lambda function: Wrapper around Mapbox Map generator for GEOJSON

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

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

ID Проекту: #11412793

Про проект

6 заявок(-ки) Дистанційний проект Остання активність 7 роки(ів) тому

Доручено:

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 Більше

$260 USD за 5 дні(-в)
(52 відгуків(-и))
5.7

6 фрілансерів(-и) готові виконати цю роботу у середньому за $208

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 Більше

$300 USD за 7 дні(-в)
(86 відгуків(и))
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 за 3 дні(-в)
(1 відгук)
2.4