Re: [JPP-Devel] How to convert WMS BBOX into polygon feature?

2013-01-17 Thread Landon Blake
H. Should be too hard to process that. If we whip up a plug-in that parses that data in a text file and adds an OJ layer, will that work? Landon On Wed, Jan 16, 2013 at 6:57 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, Here comes a sample. -Jukka- Landon Blake wrote:

Re: [JPP-Devel] How to convert WMS BBOX into polygon feature?

2013-01-17 Thread Rahkonen Jukka
Hi, Actually I thought that there would be no need to for parsing because the method in the link seemed to support BBOX as it is. But perhaps it is not native JTS method but some GeoTools method built upon it? Another link from the same source:

Re: [JPP-Devel] How to convert WMS BBOX into polygon feature?

2013-01-17 Thread Michaël Michaud
Hi Jukka, Can you tell us more about the use case ? How did these BBOX come into your text file ? If you have a text editor as clever as JEdit, you can simply do a search/replace with search = ^BBOX=([^,]+),([^,]+),([^,]+),([^,]+)$ replace = POLYGON(($1 $2, $1 $4, $3 $4, $3 $2, $1 $2))

Re: [JPP-Devel] How to convert WMS BBOX into polygon feature?

2013-01-17 Thread Rahkonen Jukka
Hi, My WMS server (MapServer) is cgi-bin program behind Apache http server and full WMS requests sent by WMS clients get collected into the Apache access log. Just about same happens with other WMS server brands. The Apache the access log entry is typically 127.0.0.1 - -

Re: [JPP-Devel] How to convert WMS BBOX into polygon feature?

2013-01-17 Thread Michaël Michaud
Hi, My WMS server (MapServer) is cgi-bin program behind Apache http server and full WMS requests sent by WMS clients get collected into the Apache access log. Just about same happens with other WMS server brands. The Apache the access log entry is typically 127.0.0.1 - -