From: <Flo...@cs...> - 2010-07-27 08:55:09
|
Hi List, Since I am not sure if this is a geoserver / geotools related issue, thus submitting it to both list. What I would like to find out here is regarding the srsName encoding base on the srid from the database. The use case : <sa:samplingLocation> <gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4283"> <gml:posList>141.0 NaN 142.0 NaN</gml:posList> </gml:LineString> </sa:samplingLocation> Base on the above use case, the srsName is encoded with prefix "http://www.opengis.net/gml/srs/epsg.xml#" + srid from the user_sdo_geom_metadata table in oracle database. What I would like to achieve here is to have srsName encoded as "http://www.opengis.net/def/crs/EPSG/0/4283", the later srsNamer is actually resolvable and the first one are not. This srsName is base on the OGC spec : OGC 09-048r3: "Name type specification - definitions - part 1 - basic name" (http://www.opengeospatial.org/ogc/policies/directives). Question here is can request to replace the prefix which is hardcoded in geoserver / geotools ? Florence Tan Software Engineer | Auscope Grid CSIRO Earth Science and Resource Engineering Phone: +61 8 6436 8802 | Fax: +61 8 6436 8559 flo...@cs...<mailto:flo...@cs...> | www.csiro.au Address: Australian Resources Research Centre, 26 Dick Perry Avenue, Kensington WA 6151 PLEASE NOTE The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference. Please consider the environment before printing this email. |
From: Justin D. <jde...@op...> - 2010-07-27 16:48:43
|
Hi Florence, Yes this is hardcoded. You will find it in GML2EncodingUtils.toURI(). I am not sure this is really changeable. The existing format comes from the wfs 1.0 spec, if we were to change it i am almost certain cite tests would start failing. -Justin On 10-07-27 1:54 AM, Flo...@cs... wrote: > Hi List, > Since I am not sure if this is a geoserver / geotools related issue, > thus submitting it to both list. > What I would like to find out here is regarding the srsName encoding > base on the srid from the database. > The use case : > <sa:samplingLocation> > <gml:LineString srsName="*http://www.opengis.net/gml/srs/epsg.xml#4283*"> > * * <gml:posList>*141.0 NaN 142.0 NaN*</gml:posList> > </gml:LineString> > </sa:samplingLocation> > Base on the above use case, the srsName is encoded with prefix > "http://www.opengis.net/gml/srs/epsg.xml#" + srid from the > user_sdo_geom_metadata table in oracle database. What I would like to > achieve here is to have srsName encoded as > "http://www.opengis.net/def/crs/EPSG/0/4283", the later srsNamer is > actually resolvable and the first one are not. This srsName is base on > the OGC spec : OGC 09-048r3: "Name type specification – definitions – > part 1 – basic name" > (http://www.opengeospatial.org/ogc/policies/directives). > Question here is can request to replace the prefix which is hardcoded in > geoserver / geotools ? > > *Florence Tan* > Software Engineer | Auscope Grid > CSIRO Earth Science and Resource Engineering > > Phone: +61 8 6436 8802 | Fax: +61 8 6436 8559 > flo...@cs... <mailto:flo...@cs...> | www.csiro.au > Address: Australian Resources Research Centre, 26 Dick Perry Avenue, > Kensington WA 6151 > > *PLEASE NOTE* > The information contained in this email may be confidential or > privileged. Any unauthorised use or disclosure is prohibited. If you > have received this email in error, please delete it immediately and > notify the sender by return email. Thank you. To the extent permitted by > law, CSIRO does not represent, warrant and/or guarantee that the > integrity of this communication has been maintained or that the > communication is free of errors, virus, interception or interference. > > Please consider the environment before printing this email. > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > > > > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |
From: <Flo...@cs...> - 2010-07-28 03:18:36
|
Thanks Justin for the feedback. -----Original Message----- From: Justin Deoliveira [mailto:jde...@op...] Sent: Wednesday, 28 July 2010 12:49 AM To: geo...@li... Subject: Re: [Geotools-devel] srsName encoding Hi Florence, Yes this is hardcoded. You will find it in GML2EncodingUtils.toURI(). I am not sure this is really changeable. The existing format comes from the wfs 1.0 spec, if we were to change it i am almost certain cite tests would start failing. -Justin On 10-07-27 1:54 AM, Flo...@cs... wrote: > Hi List, > Since I am not sure if this is a geoserver / geotools related issue, > thus submitting it to both list. > What I would like to find out here is regarding the srsName encoding > base on the srid from the database. > The use case : > <sa:samplingLocation> > <gml:LineString srsName="*http://www.opengis.net/gml/srs/epsg.xml#4283*"> > * * <gml:posList>*141.0 NaN 142.0 NaN*</gml:posList> > </gml:LineString> > </sa:samplingLocation> > Base on the above use case, the srsName is encoded with prefix > "http://www.opengis.net/gml/srs/epsg.xml#" + srid from the > user_sdo_geom_metadata table in oracle database. What I would like to > achieve here is to have srsName encoded as > "http://www.opengis.net/def/crs/EPSG/0/4283", the later srsNamer is > actually resolvable and the first one are not. This srsName is base on > the OGC spec : OGC 09-048r3: "Name type specification - definitions - > part 1 - basic name" > (http://www.opengeospatial.org/ogc/policies/directives). > Question here is can request to replace the prefix which is hardcoded in > geoserver / geotools ? > > *Florence Tan* > Software Engineer | Auscope Grid > CSIRO Earth Science and Resource Engineering > > Phone: +61 8 6436 8802 | Fax: +61 8 6436 8559 > flo...@cs... <mailto:flo...@cs...> | www.csiro.au > Address: Australian Resources Research Centre, 26 Dick Perry Avenue, > Kensington WA 6151 > > *PLEASE NOTE* > The information contained in this email may be confidential or > privileged. Any unauthorised use or disclosure is prohibited. If you > have received this email in error, please delete it immediately and > notify the sender by return email. Thank you. To the extent permitted by > law, CSIRO does not represent, warrant and/or guarantee that the > integrity of this communication has been maintained or that the > communication is free of errors, virus, interception or interference. > > Please consider the environment before printing this email. > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > > > > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Geotools-devel mailing list Geo...@li... https://lists.sourceforge.net/lists/listinfo/geotools-devel |