I see, thank you. I can succesfully return a WFS Version 1.1.1 request using
outputformat=GML2.
http://localhost:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=store:layer&CQL_FILTER=ADDRKEY=12203&outputformat=GML2<http://208.64.19.130:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=Sun:AddrPts_City&CQL_FILTER=ADDRKEY=12203>
However, it does not increase the performance of the V1.1.1 request - the
request still takes 20 seconds. As a matter of fact, i can use a Version
1.0.0 request to use GML3 and the request is still 300% faster.
http://localhost:8080/geoserver/wfs?request=getfeature&version=1.0.0&service=wfs&typename=store:layer&CQL_FILTER=ADDRKEY=12203<goog_32689416>
&outputformat=GML3
<http://localhost:8080/geoserver/wfs?request=getfeature&version=1.0.0&service=wfs&typename=store:layer&CQL_FILTER=ADDRKEY=12203&outputformat=GML3>
So what else could be the reason that a Version 1.0.0 request is so much
faster (300%), because it doestn appear to be the GML encoder...
-joe
On Thu, Oct 21, 2010 at 8:16 AM, Rahkonen Jukka
<[email protected]>wrote:
> Hi,
>
> GetCapabilities is listing all the supported formats. Your list is probably
> like this
>
> <ows:Parameter name="outputFormat">
> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
> <ows:Value>GML2</ows:Value>
> <ows:Value>GML2-GZIP</ows:Value>
> <ows:Value>SHAPE-ZIP</ows:Value>
> <ows:Value>csv</ows:Value>
> <ows:Value>gml3</ows:Value>
> <ows:Value>json</ows:Value>
> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
> </ows:Parameter>
>
> -Jukka Rahkonen-
>
> ------------------------------
> *Lähettäjä:* Joe Luchette [mailto:[email protected]]
> *Lähetetty:* 21. lokakuuta 2010 14:54
> *Vastaanottaja:* Justin Deoliveira; [email protected]
> *Aihe:* Re: [Geoserver-users] wfs getFeature request performance
>
> Thanks Justin.
>
> Yes, it is a point file of over 25,000 points. I was just shocked to see
> how much faster a WFS version 1.0.0 request was, even with the same high
> number of features. Seems like a step backward to me.
>
> Anyways, is there a way to specifically request a gml2 encoded file back
> from a WFS 1.1.1 request?
>
> thanks,
> -jl
>
> On Wed, Oct 20, 2010 at 5:33 PM, Justin Deoliveira
> <[email protected]>wrote:
>
>> Yes, the gml3 encoder is much much slower than the gml2 encoder.
>>
>> How many features are being returned for these requests? For a small
>> handful of features i would not see too much of a difference but as the
>> number of features increases the more of a hit you will see.
>>
>> It is a known issue and a while back I implemented some experimental stuff
>> to make the gml3 encoder as fast as the gml2 one. But it is currently
>> sitting on a branch... i hope one day to have the time to bring it back.
>>
>> On Wed, Oct 20, 2010 at 1:51 PM, Joe Luchette <[email protected]>wrote:
>>
>>> Does anyone know identical WFS feature requests would take 20+ seconds
>>> using v1.1.1 and only 7-8 seconds using v1.0.0?
>>>
>>> here is the simple filter request for example:
>>>
>>> http://localhost:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=store:layer&CQL_FILTER=ADDRKEY=12203<http://208.64.19.130:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=Sun:AddrPts_City&CQL_FILTER=ADDRKEY=12203>
>>>
>>>
>>> http://localhost:8080/geoserver/wfs?request=getfeature&version=1.0.0&service=wfs&typename=store:layer&CQL_FILTER=ADDRKEY=12203<http://208.64.19.130:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=Sun:AddrPts_City&CQL_FILTER=ADDRKEY=12203>
>>> <http://208.64.19.130:8080/geoserver/wfs?request=getfeature&version=1.1.1&service=wfs&typename=Sun:AddrPts_City&CQL_FILTER=ADDRKEY=12203>
>>> Thanks,
>>> -jl
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>>> contest
>>> Create new apps & games for the Nokia N8 for consumers in U.S. and
>>> Canada
>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>>> marketing
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>>> http://p.sf.net/sfu/nokia-dev2dev
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users