Hi Andrea,
It was that an XML error. Thank you.
On the other hand I've anothes question, I've noticed that MapServer
doesn't support the buffer parameter in a GetFeatureInfo WMS request. Is
that right?
Regards,
Fran Acuña
El dom., 26 abr. 2020 a las 11:10, Andrea Aime (<
andrea.a...@geo-solutions.it>) escribió:
> Hi Fran,
> simple XML error in your filter:
>
>
>
> should be:
>
>
>
> This one returns values:
>
>
> http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_PPHH_2012/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=MSPF_POLY&Filter=%3CFilter%3E%3CDWithin%3E%3CPropertyName%3EmsGeometry%3C/PropertyName%3E%3Cgml:Point%3E%3Cgml:coordinates%3E158380,4130457%3C/gml:coordinates%3E%3C/gml:Point%3E%3CDistance%20units=%27m%27%3E1%3C/Distance%3E%3C/DWithin%3E%3C/Filter%3E
>
> Hope this helps
>
> Cheers
> Andrea
>
>
> On Sat, Apr 25, 2020 at 9:55 PM Fran Acuña Parra
> wrote:
>
>> Hi everyone,
>>
>> I'm new to this list and MapServer and would like some help with an issue
>> that I'm facing with MapServer.
>>
>> I'm using the following request in order to get the closest feature from
>> a layer given some specific coordinates:
>>
>>
>> http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_PPHH_2012/wfs?&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=MSPF_POLY&Filter=msGeometry158380,4130457> units='m'>1
>>
>> It returns the following error:
>>
>> msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in
>> GetFeature :
>> msGeometry158380,4130457> units='m'>1
>>
>> But I don't know what could be wrong because the URL is based on the
>> documentation example. I don't have control of the MapServer, but I have
>> done a GetCapabilities request to the WFS server and it shows some warnings
>> in the FeatureType for the layer:
>>
>>
>> MSPF_POLY
>>
>> MSPF_POLY
>> EPSG:25830
>> > maxy="4.18983e+06"/>
>>
>>
>>
>> The point coordinates are in the same EPSG that the layer and The
>> Filter_Capabilites seem to be OK too. So I don't know If I'm missing
>> something.
>>
>> Thanks in advance.
>>
>> Fran Acuña
>>
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> --
>
> Regards, Andrea Aime
>
> == GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
> http://www.geo-solutions.it http://twitter.com/geosolutions_it
> --- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users