[mapserver-users] Insert Schema

Daniel Morissette dmorissette at mapgears.com
Wed Aug 11 09:36:40 EDT 2010


André Wunderlich wrote:
> Hello,
> 
> is there any possibility to insert extern X-Schemas in UMN?
> 
> I've got an GML with a certain Schema and I want to display it just as it is with the UMN Map Server. Unfortunately the Schema "http://schemas.opengis.net/wfs/1.1.0" seemed to applied when I insert the GML with OGR.
> I thought I could change the attribute "OWS_SCHEMA_LOCATION" in the Metadata Section but it didn't work.
> 
> Does anyone know if it's possible to insert extern Schemas and how?
> 

OWS_SCHEM_LOCATION is used only for OGC services published by MapServer
but has no impact when reading in GML files through OGR.

Do you mean that OGR changes the schema location when it reads the GML
file and that this causes an error? And what is this error? What is the
expected result that you don't get?

Did you try opening/reading the GML file with "ogrinfo"? And does that
produce the same error?

If "ogrinfo" reproduces the problem then this is really an OGR issue
independent of MapServer and you should raise the issue on the gdal-dev
list.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list