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 :

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)

geopublish-external.patch (9.9 KB ) - added by fxp 13 years ago.
geopublish-external-client.patch (1.3 KB ) - added by fxp 13 years ago.

Download all attachments as: .zip

Change History (3)

by fxp, 13 years ago

Attachment: geopublish-external.patch added

comment:1 by fxp, 13 years ago

Resolution: fixed
Status: newclosed

Committed revision 8118. Committed revision 8119.

Funding: GrandLyon

Note: See TracTickets for help on using tickets.