Questions tagged [flask]
Flask is a micro web application framework written in Python
18 questions
0 votes
1 answer
29 views
Why is fiona.open causing a PermissionError?
I'm working on a flask app that takes a geojson file and returns a shapefile. Currently it is giving me the error PermissionError: [Errno 13] Permission denied: 'C:\\Users\\john\\Desktop\\...
0 votes
1 answer
104 views
Integrating Flask into geoprocessing service
I'm working on a customized geoprocessing service that I’m publishing from ArcGIS Pro to ArcGIS Server. My goal is to configure this service to work as a webhook, so that it can directly receive ...
1 vote
1 answer
294 views
Install Leaflet plugins in Python based environment for web GIS building purpose
I am in the middle progress of building a webgis that utilize python Flask as backend and Leaflet to build the maps. I can still manage until the step where I implemented the vanilla Leaflet and just ...
1 vote
0 answers
126 views
Flask: Is there any universal way to import heterogenous shapefiles (with different attributes) to PostGIS?
Currently, I'm creating a geoportal based on Flask framework. Before, I only needed to store homogenous shapefiles, all compatible with one known attribute structure. To create a table in PostGIS to ...
0 votes
1 answer
309 views
Cannot open enterprise geodatabase table from workspace
I'm trying to create a REST Flask API to use instead of geoprocessing with the toolbox. Using the ArcGIS Python environment, I was able to make use of the libraries in Flask, but I'm facing a problem ...
0 votes
0 answers
526 views
POST zip file to ArcGIS Server using an API (Python)
I have built an API in python using the Flask framework. My goal is to be able to upload files from a local directory (in this case E:) into ArcGIS Enterprise Server. From there the service can be ...
0 votes
0 answers
177 views
Error attempting to read GeoJSON file in Flask Application
I have a Flask Application in which I am rendering scatter and choropleth maps using MapBox. For choropleth map, I need the census geometries. This is a fairly large GeoJSON file ~150mb. When I ...
1 vote
1 answer
826 views
How to get Feature Collection from PostGIS with GeoAlchemy?
I am building a simple Flask app where I want to display all point data stored in PostGIS with Leaflet. What I want to do, is retrieve data in GeoJSON from PostGIS to Flask (using GeoAlchemy) and then ...
0 votes
1 answer
131 views
Return CARTO Map in Flask
I am developing an app with Flask and Cartoframes. How return Map in template? My code: from flask import Flask,render_template from cartoframes.auth import set_default_credentials from cartoframes....
2 votes
1 answer
846 views
Passing GetMap requests to GeoServer from Flask
For some reason, I try to use Flask as a proxy layer between client and server to control all requests sent to the geoserver. The thing that I want to do is to send the GetMap request to the GeoServer ...
1 vote
0 answers
844 views
Submit a form in Folium HTML Popup
In my flask application I have a folium map displayed inside an iframe. I defined a folium html popup with a form. How can I route the form? Here is my popup html code: """<!DOCTYPE ...
0 votes
1 answer
285 views
QgsNetworkReplyContent.content() empty after HTTP error
I have a custom Flask backend and a QGIS plugin as client. I make a request with the QgsNetworkAccessmanager with blockingPost() to an endpoint which returns a JSON response on either HTTP status. ...
0 votes
1 answer
869 views
Passing a Python list of coordinates to add as markers to web map (Flask)
In my flask GIS app, I am passing my web map a list of coordinates from a route in my Python backend, which works as I expect it to. When I print the list it looks like this. [['53.792614', '-1.789202'...
6 votes
2 answers
1k views
Listing all EPSG projections to serve it on the client side
I am building a web app that allows user to convert and reproject their spatial data and then download it. I am using Flask and ogr2ogr to achieve this. Now, I want to give users a list of EPSG ...
1 vote
0 answers
328 views
Animating a heatmap over time using Google Maps API
I'm currently building a web application using flask and google maps api. I was wondering if it would be possible to create a page where user can select the time using a slider bar and the google ...