2

My goal is to create a web app where there's a map of a city and you can filter for year, month, day, etc. and crimes for that day will pop up as points on a map. I already have the data formatted as PostGIS objects in PostgreSQL, with the associated crime type and date, but I'm not sure how to go about creating the web app and querying the data on the front end.

I know that Python and possibly GeoDjango could be an option. I've also looked into gmplot. I want something that's dynamic and users could zoom in and click on individual data points to get some more information about the crime.

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Dec 13, 2020 at 0:33

1 Answer 1

4

There are many, many options for building an app like this. A new option that is lightweight and powerful is pg_tileserv and pg_featureserv. They connect directly to PostGIS and provide modern MVT and OGC Features API support. You would probably need to write a custom function to perform the filtering, which they both support. OpenLayers is a good choice for the front-end web map layer.

Other choices for map/data server are GeoServer and MapServer.

answered Dec 13, 2020 at 1:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.