osm-fr / osm-polygons-generation Goto Github PK
View Code? Open in Web Editor NEWWebsite to generate polygons for recursive relations in OpenStreetMap
Website to generate polygons for recursive relations in OpenStreetMap
65995073 Doesn't work
Hi,
i used your service on http://osm102.openstreetmap.fr/~jocelyn/polygons/index.py?id=62504 which is pretty great!
Unfortunately i was unable to import resulting WKT data into my postgis database. In this special case i think the generation of the polygon is not correct, as it is mainly an outline polygon with a hole. The resulting Multipolygon has more than one "holes". Maybe the OSM Data is corrupt. Could you have a look? This is how it should look like:
http://www.openstreetmap.org/browse/relation/62504
Thank you,
Christoph
Hi,
ich see the Documentation in the git repo contains the ST_SimplifyPreserveTopology although the Website says ST_Simplify.
The result i get is a Multipolygon so i guess its not SimplifyPreserveTopology. The original relation does not contain en-/ or exclaves.
http://polygons.openstreetmap.fr/get_geojson.py?id=73347¶ms=0.020000-0.005000-0.005000
Flo
I'm working on importing geometries for multiple admin subdivisions for a country. When I import the data from your service, I'm getting a HTTP 429 (too many requests). What are the allowed request quotas? The HttpResponse does not contain a Retry-After
header either
https://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format
separated by whitespace
Not sure if include tab.
But https://github.com/onthegomap/planetiler does not support the tab in the OSM-FR .poly.
Hi
I was wondering if there is some modifications between the site http://polygons.openstreetmap.fr/ and the github repository because when I run localy the SQL function create_polygon() of the init.sql file on relation 2885772, it give me an error
NOTICE: missing connexion at point -7.2837169f 29.4492886f
NOTICE: missing connexion at point -6.604455f 29.527368f
ERROR: lwpoly_from_lwlines: shell must be closed
...but not when I try to get the polygon on the website, it give me a well formed WKT.
note that the function works well for some other relations (e.g : paris/7444)
Is there some optimisations done on the website? or I do something wrong ?
Hello, first of all, thanks for the great script. I can't figure out why I get an error for the following relation: http://polygons.openstreetmap.fr/?id=77665 is it something wrong with the script or there is a problem with the map? Works fine for many others, just a problem with this one.
discussion initiale osm-fr/infrastructure#51 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.