Changes between Version 23 and Version 24 of BluePrint/GIS/ShapefileLayers


Ignore:
Timestamp:
05/17/13 12:58:05 (8 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/GIS/ShapefileLayers

    v23 v24  
    11== Shapefile Layers ==
     2[[TOC]]
    23
    34Upload a Shapefile to display on the map.
     
    78 * Can use the Python bindings for GDAL/OGR as we do for the [wiki:UserGuidelinesGISData#GADM GADM importer]
    89 * Option A: Import just to display as an overlay
    9   * Work on this has started as gis_layer_shapefile in Trunk
    10   * Needs styling
    1110 * Option B: Import into Native Tables via an XSL Transform
    1211  * See below for code to convert SHP to an lxml.etree
     
    2221 * Build a .map file for [http://mapserver.org MapServer] using [http://mapserver.org/mapscript Python MapScript]
    2322
    24 === Imports ===
    25 PaulPorthouse [2013-04-27 at the Hackathon]:
     23=== Import to display as an Overlay ===
     24Work on this has started as gis_layer_shapefile in Trunk
     25
     26==== !ToDo ====
     27 * Needs styling
     28* onaccept to write any modified data back to the attached shapefile
     29
     30=== Import into native Tables ===
     31Paul Porthouse [2013-04-27 at the [http://mapaction.org MapAction] Hackathon]:
    2632
    2733Our idea is to use a basic web form with a file upload (similar to the Import from OpenStreetMap) where you can select which ShapeFile to use. You should also be able to set basic information including database connection details. This will then upload the shape and use OGR2OGR to convert the ShapeFile to geometry and import it into the specified database.
     
    100106f = open("test.xml","w")
    101107f.write(xmlString)
    102 
    103108}}}
    104109