On Mon, Mar 18, 2013 at 9:34 AM, gabriel <[email protected]> wrote:

> Hi list,
>
> i read specification for WFS 1.1.0 on
> http://www.opengeospatial.org/standards/wfs. In this document is written ,
> that we can set aliases for typenames.
>
> So i tried it, but with no success.
>
> My URL:
>
> http://srvemis01:7777/geoserver/wfs?service=WFS&request=GetFeature&version=1.1.0&typeName=emis:T_GM_KRAJ_SPA=A&filter=
> <ogc:Filter
> xmlns:ogc='http://www.opengis.net/ogc'><ogc:PropertyIsLike wildCard='*'
> singleChar='.'
>
> escape='!'><ogc:PropertyName>A.NAZOV_KU</ogc:PropertyName><ogc:Literal>pre*</ogc:Literal></ogc:PropertyIsLike></ogc:Filter>
>
> Response is:  Feature type emis:T_GM_KRAJ_SPA=A unknown
>
> With apostrophes URL:
>
> http://srvemis01:7777/geoserver/wfs?service=WFS&request=GetFeature&version=1.1.0&typeName='emis:T_GM_KRAJ_SPA=A'&filter=
> <ogc:Filter
> xmlns:ogc='http://www.opengis.net/ogc'><ogc:PropertyIsLike wildCard='*'
> singleChar='.'
>
> escape='!'><ogc:PropertyName>A.NAZOV_KU</ogc:PropertyName><ogc:Literal>pre*</ogc:Literal></ogc:PropertyIsLike></ogc:Filter>
>
> gave this response: Unknown namespace ['emis]
>
> Can someone help me to solve that problem ?
>

Aliases are meant to be used in joins, but GeoServer WFS 1.1 does not
support the joining and as such
does not support aliases either.
I believe both joining and aliases are supported for WFS 2.0 though

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to