[Mapbender-dev] Re: Catalog Schema and Storing Op values

Mifan Careem mifan at opensource.lk
Thu Jul 9 01:52:39 EDT 2009


Hi List,

I've current solved the problem by storing the GET values of the
operations (e.g getrecords) in the main catalog schema itself. I am
currently not storing the other parameter values of the operations - if
this is needed, I can handle this later on, but since currently I just
need the GET URLs, I'll concentrate on this.

Let me know if there are any suggestions.

Thanks

Mifan


On Tue, 2009-07-07 at 16:05 +0530, Mifan Careem wrote:
> Dear list,
> 
> My current schema to store a catalog object is here:
> http://www.mapbender.org/CSW_report_week_3
> 
> I currently provide an Admin function to 'Load a Catalog'. In this, I
> need to store Operation[1] values from the OperationsMetadata section of
> the Catalog's GetCapabilities[2] document. What would the best way be to
> store these operations sections (getrecords,describerecords etc.),
> considering that I have to make use of the GET/POST values often to make
> a CSW search?
> 
> Currently, I thought of this:
> 
> - Store normal catalog information in the cat table
> - store Parameter names and values of the Operations in a seperate
> table, like this:
> INSERT INTO cat_op_conf(id,op_name,param_name,param_value) VALUES
> (2,'getrecords',http_get,http://www.geodata.alterra.nl/excat/csw);
> INSERT INTO cat_op_conf(id,op_name,param_name,param_value) VALUES
> (2,'getrecords','typename','csw:Record');
> 
> etc.
> 
> Any suggestions?
> 
> 
> [1]: <ows:Operation name="DescribeRecord">
> <ows:DCP>
> <ows:HTTP>
> <ows:Get xlink:href="http://www.geodata.alterra.nl/excat/csw"/>
> <ows:Post xlink:href="http://www.geodata.alterra.nl/excat/csw"/>
> </ows:HTTP>
> </ows:DCP>
> <ows:Parameter name="TypeName">
> <ows:Value>csw:Record</ows:Value>
> </ows:Parameter>
> <ows:Parameter name="OutputFormat">
> <ows:Value>application/xml</ows:Value>
> </ows:Parameter>
> <ows:Parameter name="SchemaLanguage">
> <ows:Value>XMLSCHEMA</ows:Value>
> <ows:Value>http://www.w3.org/XML/Schema</ows:Value>
> </ows:Parameter>
> </ows:Operation>
> 
> [2]:
> http://www.geodata.alterra.nl/excat/csw?request=GetCapabilities&service=CSW
> 
> 
> Thanks
> 
> Mifan



More information about the Mapbender_dev mailing list