Changes between Version 21 and Version 22 of BluePrint/GIS/ShapefileLayers


Ignore:
Timestamp:
05/14/13 16:18:36 (12 years ago)
Author:
Fran Boon
Comment:

Work on this has started

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/GIS/ShapefileLayers

    v21 v22  
    44
    55Options:
     6* Import Features
     7 * Can use the Python bindings for GDAL/OGR as we do for the [wiki:UserGuidelinesGISData#GADM GADM importer]
     8 * Work on this has started as gis_layer_shapefile in Trunk
    69* Upload to !GeoServer co-app & add a layer which accesses this via WMS/WFS (although the UI should show in the 'Shapefiles layers' section)
    710 * http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html#uploading-a-shapefile
    811 * https://github.com/dwins/gsconfig.py
    9 * Import Features
    10  * Can use the Python bindings for GDAL/OGR as we do for the [wiki:UserGuidelinesGISData#GADM GADM importer]
    1112
    1213We can include [http://thematicmapping.org/downloads/world_borders.php TM_WORLD_BORDERS-0.3.zip] as a useful base/sample
     
    1718 * Build a .map file for [http://mapserver.org MapServer] using [http://mapserver.org/mapscript Python MapScript]
    1819
     20=== Imports ===
    1921PaulPorthouse [2013-04-27 at the Hackathon]:
    2022
     
    2224
    2325A basic OGR2OGR which should accomplish the import is:
    24 OGR2OGR -overwrite -f "PostgreSQL" PG:dbname=databaseconnection shapefile.shp
     26{{{OGR2OGR -overwrite -f "PostgreSQL" PG:dbname=databaseconnection shapefile.sh}}}
    2527
    2628This could be called directly from Python by running it as a sub process.
     
    99101
    100102----
    101 [wiki:BluePrint/GIS GIS BluePrints]ic
     103[wiki:BluePrint/GIS GIS BluePrints]