Opened 13 years ago
Closed 13 years ago
#579 closed enhancement (fixed)
Editor / Geopublication / publish by filename
Reported by: | fxp | Owned by: | Fxp |
---|---|---|---|
Priority: | major | Milestone: | v2.7.0 |
Component: | General | Version: | |
Keywords: | Cc: |
Description
GeoNetwork currently support publication of :
- zipped shapefile
- tiff
- zipped tiff
- postgis table
GeoServer (2.1.1) allows publication of datastore using filename or url using:
/workspaces/<ws>/datastores/<ds>/url[.<extension>] /workspaces/<ws>/datastores/<ds>/external[.<extension>]
Using this, in the metadata distribution section :
- register a file (eg. file:///home/francois/GeoData/DEPARTEMENT.shp) on the network visible to GeoServer,
- set the protocol to a GIS resource (ie. "GIS File" FILE:GEO)
- use the geopublisher panel to publish the resource.
The XML is :
<gmd:onLine> <gmd:CI_OnlineResource> <gmd:linkage> <gmd:URL>file:///home/francois/GeoData/DEPARTEMENT.shp</gmd:URL> </gmd:linkage> <gmd:protocol> <gco:CharacterString>FILE:GEO</gco:CharacterString> </gmd:protocol> <gmd:name> <gco:CharacterString>Shapefile des départements français</gco:CharacterString> </gmd:name> <gmd:description gco:nilReason="missing"> <gco:CharacterString/> </gmd:description> </gmd:CI_OnlineResource> </gmd:onLine>
Ref: http://docs.geoserver.org/stable/en/user/restconfig/rest-config-api.html#data-stores
Attachments (2)
Change History (3)
by , 13 years ago
Attachment: | geopublish-external.patch added |
---|
by , 13 years ago
Attachment: | geopublish-external-client.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed revision 8118. Committed revision 8119.
Funding: GrandLyon