Polygon creation

This will generate the whole geometry of the given OSM relation id, with the corresponding sub-relations. When the geometry is available, it is possible to generate simplified geometries from this one, and export them as .poly, GeoJSON, WKT or image formats.


Import of an user polygon

Use this if you want to import your own .poly file, and do union operations with OSM relations.


List of recently generated polygons

Here are the latest generated polygons with this application.

--> -->
id timestamp ▴ name admin
 
 
<class 'psycopg2.OperationalError'>
Python 2.7.5+: /usr/bin/python
Mon Nov 24 09:52:57 2014

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/jocelyn/polygon-generation/website/index.py in ()
     61          ORDER BY timestamp DESC
     62          LIMIT 20"""
=>   63     PgCursor.execute(sql_list)
     64 
     65     results = PgCursor.fetchall()
PgCursor = <cursor object at 0x1824850; closed: 0>, PgCursor.execute = <bound method DictCursor.execute of <cursor object at 0x1824850; closed: 0>>, sql_list = 'select polygons.id, timestamp, relations.tags\n ... ORDER BY timestamp DESC\n LIMIT 20'
 /usr/lib/python2.7/dist-packages/psycopg2/extras.py in execute(self=<cursor object at 0x1824850; closed: 0>, query='select polygons.id, timestamp, relations.tags\n ... ORDER BY timestamp DESC\n LIMIT 20', vars=None)
    121         self.index = {}
    122         self._query_executed = 1
=>  123         return _cursor.execute(self, query, vars)
    124 
    125     def callproc(self, procname, vars=None):
global _cursor = <type 'psycopg2._psycopg.cursor'>, _cursor.execute = <method 'execute' of 'psycopg2._psycopg.cursor' objects>, self = <cursor object at 0x1824850; closed: 0>, query = 'select polygons.id, timestamp, relations.tags\n ... ORDER BY timestamp DESC\n LIMIT 20', vars = None

<class 'psycopg2.OperationalError'>: could not write to hash-join temporary file: No space left on device
      args = ('could not write to hash-join temporary file: No space left on device\n',)
      cursor = <cursor object at 0x1824850; closed: 0>
      message = 'could not write to hash-join temporary file: No space left on device\n'
      pgcode = '53100'
      pgerror = 'ERROR: could not write to hash-join temporary file: No space left on device\n'