[Geoserver-users] WFS layer without Workspace

2019-07-25 Thread Klemm, Stephan - LISt
Hello everyone,

i need an solution for the name and attributes from a layer without the Name of 
the Workspace.

Currently each layer and every attribute of the layer has the syntax: 
workspace: layername or workspace: attribute, specifically mvs:

Here the example response from

GetCapabilities
[cid:image001.png@01D542FA.76BF3F80]

DescribeFeatureType
[cid:image002.png@01D542FB.23243E60]

GetFeature
[cid:image003.png@01D542FB.23243E60]

Is there a way to remove the workspace in the output of each Document?

Kind regards, Stephan
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WFS GetFeature Post Request

2014-11-05 Thread Klemm, Stephan - LIST
Dear community,

 

I have a received a message from an engineers office on a faulty wfs
filter request to get features from our GeoServer (Version 2.4.4):

 

The Request was:

 

POST http://www.list.smwa.sachsen.de/baustelleninfo/wfs
http://www.list.smwa.sachsen.de/baustelleninfo/wfs ? HTTP/1.1

Content-Type: text/xml;charset=UTF-8

User-Agent: Iwan WebMapServer (info:http://www.webmapserver.de/)
IDUGeolib/6.2.0 Build 145

Connection: Keep-Alive

Content-Length: 889

Host: www.list.smwa.sachsen.de http://www.list.smwa.sachsen.de 

Authorization: Basic U1BFUlJfU046IVNwM3IxNE4h

 

?xml version='1.0' encoding='UTF-8'?wfs:GetFeature version='1.1.0'
service='WFS'
xmlns:services='www.list.smwa.sachsen.de/baustelleninfo/services/'
xmlns='http://www.opengis.net/ogc'
xmlns:ogc='http://www.opengis.net/ogc'
xmlns:wfs='http://www.opengis.net/wfs'
xmlns:gml='http://www.opengis.net/gml'

wfs:Query typeName='services:Strassensperrungen_Aktuell'

wfs:PropertyNameservices:geom/wfs:PropertyName

Filter

And

BBOXogc:PropertyNameservices:geom/ogc:PropertyNamegml:Envelope
xmlns:gml='http://www.opengis.net/gml' srsName='EPSG:31468'

gml:lowerCorner5674610.89993951 4623372.64610281/gml:lowerCorner

gml:upperCorner5675455.82080778 4624530.12384099/gml:upperCorner

/gml:Envelope/BBOX

PropertyIsEqualTo

ogc:PropertyNameservices:Verwaltungskennziffer/ogc:PropertyName

Literal0014627/Literal

/PropertyIsEqualTo

/And

/Filter

/wfs:Query

/wfs:GetFeature 

 

and the answer:

 

ows:ExceptionReport xmlns:ows=http://www.opengis.net/ows
http://www.opengis.net/ows 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance  version=1.0.0
xsi:schemaLocation=http://www.opengis.net/ows
http://www.list.smwa.sachsen.de:80/baustelleninfo/schemas/ows/1.0.0/owsE
xceptionReport.xsd
http://www.opengis.net/ows%20http:/www.list.smwa.sachsen.de:80/baustell
eninfo/schemas/ows/1.0.0/owsExceptionReport.xsd 

ows:Exception exceptionCode=InvalidParameterValue

ows:ExceptionTextInvalid request

cvc-pattern-valid: Value 'services:Strassensperrungen_Aktuell' is not
facet-valid with respect to pattern '((\w:)?\w(=\w)?){1,}' for type
'TypeNameListType'.

cvc-attribute.3: The value 'services:Strassensperrungen_Aktuell' of
attribute 'typeName' on element 'wfs:Query' is not valid with respect to
its type,
'TypeNameListType'./ows:ExceptionTextows:ExceptionTextcvc-pattern-va
lid: Value 'services:Strassensperrungen_Aktuell' is not facet-valid with
respect to pattern '((\w:)?\w(=\w)?){1,}' for type
'TypeNameListType'./ows:ExceptionTextows:ExceptionTextcvc-attribute.
3: The value 'services:Strassensperrungen_Aktuell' of attribute
'typeName' on element 'wfs:Query' is not valid with respect to its type,
'TypeNameListType'./ows:ExceptionText/ows:Exception/ows:ExceptionRe
port

 

Does anyone know why this Post-request fails?

 

Thanks in advance!

Stephan

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS GetFeature Post Request

2014-11-05 Thread Klemm, Stephan - LIST
Hi both,

 

thanks for your help!

 

Well, then the engineering office must take up the version 1.0.0! J  Nope, 
we'll just adjust the layer name and wait…

 

Best Regards 

Stephan

 

 

Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Mittwoch, 5. November 2014 14:12
An: Rahkonen Jukka (Tike)
Cc: Klemm, Stephan - LIST; GeoServer Mailing List List
Betreff: Re: [Geoserver-users] WFS GetFeature Post Request

 

On Wed, Nov 5, 2014 at 1:30 PM, Rahkonen Jukka (Tike) 
jukka.rahko...@mmmtike.fi wrote:

Hi,

 

Where does the requirement not to accept underscore come from? I have been 
thinking that the WFS 1.1.0 schema presents QName leads to NCName with a 
possible prefix

 

In the Query typeName is not defined as NCName, but as TypeNameListType:

 

xsd:attribute name=typeName type=wfs:TypeNameListType use=required

xsd:annotation

xsd:documentation

The typeName attribute is a list of one or more feature type names that 
indicate which types of feature instances should be included in the reponse 
set. Specifying more than one typename indicates that a join operation is being 
performed. All the names in the typeName list must be valid types that belong 
to this query's feature content as defined by the GML Application Schema.

/xsd:documentation

/xsd:annotation

/xsd:attribute

...

xsd:simpleType name=TypeNameListType

xsd:restriction base=wfs:Base_TypeNameListType

xsd:pattern value=((\w:)?\w(=\w)?){1,}

xsd:annotation

xsd:documentation

Example typeName attribute value might be: typeName=ns1:Inwatera_1m=A, 
ns2:CoastL_1M=B In this example, A is an alias for ns1:Inwatera_1m and B is an 
alias for ns2:CoastL_1M.

/xsd:documentation

/xsd:annotation

/xsd:pattern

/xsd:restriction

/xsd:simpleType

 

The funny thing is that the documentation uses _, but then again the XML 
validators do not accept it,

and the moment I removed it, the validation of the document passed.

So, I have to assume that \w does not include _ as a valid char.

According to some docs I've found on the internet \w is defined as:

 

Any character that might appear in a word. A shortcut for 
'[#X-#x10]-[\p{P}\p{Z}\p{C}]' (all characters except the set of 
punctuation, separator, and other characters).

 

I guess _ might be seen as a separator?

 

I've also tried to use ns1:Inwatera_1m=A, ns2:CoastL_1M=B in a GetFeature, 
and I cannot find a way to fix it,

which is not surprising, since WFS 1.1 does not support joining to start with...

 

Cheers

Andrea

 

-- 

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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

 

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

 

The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

 

---

--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] attribute-based Geodata rights-Management for WMS/WFS

2012-07-02 Thread Klemm, Stephan - LIST
Hello List,

 

for our applications, we need an attribute-based authorization for
WMS/WFS requests. 

The reason is that the user will see only the spatial data via WMS /
WFS, which are assigned in the database or something else. Is this
anyway possible with GeoServer or someone finds this useful and well
programmed it?
As an example, the security manager of con terra
http://www.conterra.de/en/products/sdi/securitymanager/index.shtm

 

Thanks a lot for any notes

Stephan

  

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] SLD drawing order

2012-05-03 Thread Klemm, Stephan - LIST
Hi GS Friends,

 

i have an SLD File with more as 10 rules. 

My Problem is that geoserver ignored the order of drawing. I thought the
reading of SLD is from bottom to top?

 

Thanks in advance 

Stephan 

 

Here my example:

 

?xml version=1.0 encoding=UTF-8?

StyledLayerDescriptor version=1.0.0
xsi:schemaLocation=http://www.opengis.net/sld
StyledLayerDescriptor.xsd

  xmlns=http://www.opengis.net/sld;
xmlns:ogc=http://www.opengis.net/ogc;
xmlns:xlink=http://www.w3.org/1999/xlink;

  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

  NamedLayer

NameKISS/Name

UserStyle  

  FeatureTypeStyle

Rule

  MaxScaleDenominator20/MaxScaleDenominator

  NameRasen, Wiese, Ansaat, Mahd, Extensivierung/Name

  ogc:Filter

Or

ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWP02/ogc:Literal

  /ogc:PropertyIsEqualTo

ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWP01/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL08/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL07/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL06/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL05/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL04/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL03/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL02/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGL01/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralGW03/ogc:Literal

  /ogc:PropertyIsEqualTo

/Or

  /ogc:Filter

  PolygonSymbolizer

Stroke

  CssParameter name=stroke#00/CssParameter

  CssParameter name=stroke-width0.5/CssParameter

/Stroke

Fill

  CssParameter name=fill#90F000/CssParameter

/Fill

  /PolygonSymbolizer

/Rule

Rule

  MaxScaleDenominator20/MaxScaleDenominator

  NameWald, Aufforstung, Waldumbau/Name

  ogc:Filter

Or

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWA05/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWA04/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWA03/ogc:Literal

  /ogc:PropertyIsEqualTo

  ogc:PropertyIsEqualTo

ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

ogc:LiteralWA01/ogc:Literal

  /ogc:PropertyIsEqualTo

/Or

  /ogc:Filter

  PolygonSymbolizer

Stroke

  CssParameter name=stroke#00/CssParameter

  CssParameter name=stroke-width0.5/CssParameter

/Stroke

Fill

  CssParameter name=fill#00A050/CssParameter

/Fill

  /PolygonSymbolizer

/Rule

Rule

  MaxScaleDenominator20/MaxScaleDenominator

  NameSukzession/Name

  ogc:Filter

  Or

ogc:PropertyIsEqualTo

  ogc:PropertyNameteilmassnahmeart/ogc:PropertyName

  ogc:LiteralSZ02/ogc:Literal


Re: [Geoserver-users] Layer Order

2011-11-08 Thread Klemm, Stephan - LIST
Hi Andrea,

Thanks for your Answers and I've tested the nightly build, that's it!
I know, my wish rather is ugly but I would like prefer a possibility the layers 
with a field or interactively sort  so ugly it is to realize, so wonderful is 
it for me and our Users and I am be happy :-)

Greetings and thanks in advance
Stephan



-Ursprüngliche Nachricht-
Von: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 8. November 2011 08:55
An: Klemm, Stephan - LIST
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] Layer Order

On Fri, Nov 4, 2011 at 1:30 PM, Klemm, Stephan - LIST 
stephan.kl...@list.smwa.sachsen.de wrote:


 Hello,



 I have some Tables from a postgre db published to GS and find out, 
 that's the Layer alphabetically or maybe arbitrarily ordered. 
 Background is that the data are roads and they must have a certain 
 order in the representations. When linking the capabilities to a GIS 
 client user sees a lot of layers and marks them as they are issued.

 Example preview @ getcapabilities document and GIS-Client:



 Road class S

 Road Class A

 Road class K

 Road class B



 But the correct order is

 A, B, S, K



 Is it possible to realize the influence of the Layer order in GS?

Nope, there is no way to do so at the moment.
Theoretically we could add a priority or order field to the layers and sort 
over them before publishing the list of layers.
Would be rather ugly to maintain though, unless we also provide some user 
interface to interactively order the layer list in some way.

 By the way, it's possible in the getcapabilities document for every 
 supported coordinate System to give an own BBOX?

It should be possible starting from v 2.1.3 according to this jira:
http://jira.codehaus.org/browse/GEOS-4659

You can download a nightly build here if you want to use this new ability 
without waiting for a release:
http://gridlock.opengeo.org/geoserver/2.1.x/

Cheers
Andrea

--
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Layer Order

2011-11-04 Thread Klemm, Stephan - LIST
 

Hello,

 

I have some Tables from a postgre db published to GS and find out,
that's the Layer alphabetically or maybe arbitrarily ordered. Background
is that the data are roads and they must have a certain order in the
representations. When linking the capabilities to a GIS client user sees
a lot of layers and marks them as they are issued. 

Example preview @ getcapabilities document and GIS-Client:

 

Road class S

Road Class A

Road class K 

Road class B 

 

But the correct order is

A, B, S, K

 

Is it possible to realize the influence of the Layer order in GS?

 

By the way, it's possible in the getcapabilities document for every
supported coordinate System to give an own BBOX?

 

Something like:

SRSEPSG:25833/SRS

SRSEPSG:4258/SRS

SRSEPSG:4326/SRS

LatLonBoundingBox minx=... miny=... maxx=... maxy=... /

BoundingBox SRS=EPSG:25833 minx=... miny=... maxx=...
maxy=... /

BoundingBox SRS=EPSG:4258 minx=... miny=... maxx=... maxy=...
/

BoundingBox SRS=EPSG:4326 minx=... miny=... maxx=... maxy=...
/  

 

Thank in Advance

Stephan

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Labelborder in an sld?

2011-11-01 Thread Klemm, Stephan - LIST
Hi List,

 

is it possible to draw a Border about  Labels with SLD?

Something like:  A 8B 300

 

Best Regards

Stephan

--
RSAreg; Conference 2012
Save #36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] getMap with multiple filter

2011-09-29 Thread Klemm, Stephan - LIST
Hi all,

 

i need a getMap Request URL over several Layer to emphasize a tree
around a distance of 50m. The fist attempts were successful with:

 

http://IP:8080/TestGS/ows?SERVICE=wmsVERSION=1.0.0Transparent=truela
yers=MV1461REQUEST=GetMapbbox=4672312,5676305,4672582,5676575SRS=EPSG
:31468WIDTH=350HEIGHT=200FORMAT=image/pngFilter=ogc:Filter
xmlns:ogc=http://ogc.org;
xmlns:gml=http://www.opengis.net/gml;ogc:DWithinogc:PropertyNameGE
OM/ogc:PropertyNamegml:Point
srsName=http://www.opengis.net/gml;gml:coordinates4672447.001,567644
0.448/gml:coordinates/gml:PointDistance
units='m'50/Distance/ogc:DWithin/ogc:FilterFilter=ogc:Filter
xmlns:ogc=http://ogc.org;
xmlns:gml=http://www.opengis.net/gml;ogc:DWithinogc:PropertyNameGE
OM/ogc:PropertyNamegml:Point
srsName=http://www.opengis.net/gml;gml:coordinates4672447.001,567644
0.448/gml:coordinates/gml:PointDistance
units='m'50/Distance/ogc:DWithin/ogc:Filter

 

The next Level is the Request with 3 other Layern like Streets,
Nullpunkte (points) and Orthophotos (aerial pictures).  

 

An Request like 

http://IP:8080/TestGS/ows?SERVICE=wmsVERSION=1.0.0Transparent=truela
yers=MV1461,StrassennetzREQUEST=GetMapbbox=4672312,5676305,4672582,567
6575SRS=EPSG:31468WIDTH=350HEIGHT=200FORMAT=image/pngFilter=ogc:Fi
lter xmlns:ogc=http://ogc.org;
xmlns:gml=http://www.opengis.net/gml;ogc:DWithinogc:PropertyNameGE
OM/ogc:PropertyNamegml:Point
srsName=http://www.opengis.net/gml;gml:coordinates4672447.001,567644
0.448/gml:coordinates/gml:PointDistance
units='m'50/Distance/ogc:DWithin/ogc:FilterFilter=ogc:Filter
xmlns:ogc=http://ogc.org;
xmlns:gml=http://www.opengis.net/gml;ogc:DWithinogc:PropertyNameGE
OM/ogc:PropertyNamegml:Point
srsName=http://www.opengis.net/gml;gml:coordinates4672447.001,567644
0.448/gml:coordinates/gml:PointDistance
units='m'50/Distance/ogc:DWithin/ogc:Filter

 

returns the message:  

?xml version=1.0 encoding=UTF-8 standalone=no?!DOCTYPE
ServiceExceptionReport SYSTEM
http://172.24.51.2:8080/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1ServiceException

  Layers and filters are mismatched, you need to provide one filter
for each layer

/ServiceException/ServiceExceptionReport

 

How can I integrate multiple filters in the request?

Thanks for any help.

 

Stephan

 

 

 

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] getMap with multiple filter

2011-09-29 Thread Klemm, Stephan - LIST
Hi Andrea, Jukka,

 

Thanks for the help and I tried it. It works

 

My next question, is it possible to highlight a tree from the Layer
MV1461 with the coordinates 4672447.001,5676440.448  bigger as the
others? 

 

I do this with SLD_BODY for one layer:

 

http://172.24.51.124:8080/TestGS/ows?SERVICE=wmsVERSION=1.1.1Transpar
ent=truelayers=MV1461REQUEST=GetMapbbox=4672312,5676305,4672582,56765
75SRS=EPSG:31468styles=,,WIDTH=350HEIGHT=200FORMAT=image/pngFilter
=(FilterDWithinPropertyNameGEOM/PropertyNamePointcoordinates
4672447.001,5676440.448/coordinates/PointDistance
units='m'50/Distance/DWithin/Filter)

SLD_BODY=StyledLayerDescriptor
version='1.0.0'NamedLayerNamefisbaum:MV1461/NameUserStyleFeatu
reTypeStyleRuleFilterPropertyIsEqualToPropertyNameID/PropertyN
ameLiteral2104012752/Literal/PropertyIsEqualTo/FilterPointSymb
olizerGraphicMarkWellKnownNamecircle/WellKnownNameFillCssPar
ameter name='fill'0x4DFF4D/CssParameterCssParameter
name='fill-opacity'1/CssParameter/Fill/MarkOpacity1/OpacityS
ize10/SizeRotation0/Rotation/Graphic/PointSymbolizer/RuleR
uleElseFilter/PointSymbolizerGraphicMarkWellKnownNamecircle/
WellKnownNameFillCssParameter
name='fill'0x00/CssParameterCssParameter
name='fill-opacity'1/CssParameter/Fill/MarkOpacity1/OpacityS
ize5/SizeRotation0/Rotation/Graphic/PointSymbolizer/Rule/F
eatureTypeStyle/UserStyle/NamedLayer/StyledLayerDescriptor

 

But I need a request with more layers. The Style for the other Layers
should remain.

Any ideas for the request?

 

http://172.24.51.124:8080/TestGS/ows?SERVICE=wmsVERSION=1.1.1Transpar
ent=truelayers=Strassennetz,Nullpunkte,MV1461REQUEST=GetMapbbox=46723
12,5676305,4672582,5676575SRS=EPSG:31468styles=,,WIDTH=350HEIGHT=200
FORMAT=image/pngFilter=(FilterDWithinPropertyNameGEOM/PropertyN
amePointcoordinates4672447.001,5676440.448/coordinates/PointDi
stance units='m'50/Distance/DWithin/Filter)

SLD_BODY=StyledLayerDescriptor
version='1.0.0'NamedLayerNamefisbaum:MV1461/NameUserStyleFeatu
reTypeStyleRuleFilterPropertyIsEqualToPropertyNameID/PropertyN
ameLiteral2104012752/Literal/PropertyIsEqualTo/FilterPointSymb
olizerGraphicMarkWellKnownNamecircle/WellKnownNameFillCssPar
ameter name='fill'0x4DFF4D/CssParameterCssParameter
name='fill-opacity'1/CssParameter/Fill/MarkOpacity1/OpacityS
ize10/SizeRotation0/Rotation/Graphic/PointSymbolizer/RuleR
uleElseFilter/PointSymbolizerGraphicMarkWellKnownNamecircle/
WellKnownNameFillCssParameter
name='fill'0x00/CssParameterCssParameter
name='fill-opacity'1/CssParameter/Fill/MarkOpacity1/OpacityS
ize5/SizeRotation0/Rotation/Graphic/PointSymbolizer/Rule/F
eatureTypeStyle/UserStyle/NamedLayer/StyledLayerDescriptor

 

Thanks a lot

Regards, Stephan

 



Von: geoserver-users-boun...@lists.sourceforge.net
[mailto:geoserver-users-boun...@lists.sourceforge.net] Im Auftrag von
Andrea Aime
Gesendet: Donnerstag, 29. September 2011 15:53
An: Rahkonen Jukka
Cc: Klemm, Stephan - LIST; geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] getMap with multiple filter

 

On Thu, Sep 29, 2011 at 3:24 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:

Hi,

 

I fear I can't help much with this but noticed two things which may be
worth checking.

- WMS version 1.0.0 is very rarely used so I would use version 1.1.1
instead

- You have Filter KVP two times as Filter=.Filter=  I believe it
is wrong and WMS server takes only one, either the first or the latter.
Try to insert them into one Filter=.  Comma is used as a separator in
other places in WMS.

 

If you use the XML sytanx for filter (instead of cql filter), that comes
from WFS,

and the structure of a filter list is a bit odd:

(Filter.../Filter)(Filter.../Filter) 

and so on

 

Cheers

Andrea

 

 

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users