[TinyOWS-users] Featureset limit when apply it

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sun Sep 25 09:43:23 EST 2011


Hi,

I can confirm. The request
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway&BBOX=246700,6780800,436400,6924000&maxFeatures=1

returns correctly one feature but its extents are totally outside of the BBOX used in the request.
<gml:boundedBy>
<gml:Box srsName="EPSG:3067">
<gml:coordinates decimal="." cs="," ts=" "
>404250.968750,6854735.000000 407149.718750,6860031.500000<
/gml:coordinates>
</gml:Box>
</gml:boundedBy>

-Jukka Rahkonen-
________________________________________
Lähettäjä: tinyows-users-bounces at lists.maptools.org [tinyows-users-bounces at lists.maptools.org] k&#228;ytt&#228;j&#228;n aperi2007 [aperi2007 at gmail.com] puolesta
Lähetetty: 24. syyskuuta 2011 21:38
Vastaanottaja: tinyows-users at lists.maptools.org
Aihe: Re: [TinyOWS-users] Featureset limit when apply it

If I put a feature-limit :
for example 10.000 features.

and after I do a request sending a bbox.
tinyows send me a recordset which as the characteristic that no one
element is in the
BBOX I ask for. :)

It send me 10.000 element where noone is inside the bbox why it ask to
the DB for the recordset after it take the first 10.000 recordset and
send it.
Practically always the recordset of 10.000 element as no-one element of
the bbox I ask for.

Actually tinyows seem ask to the db to have the first 10.000 element.
Instead I guess it should ask the first 10.000 record that are in the BBOX.

 > it should not be limited by the maxfeatures limit,
 > well the best way to do it is to not put any maxfeature limit :)

When the dataset is really huge, limit the feature is good tom avoid the
user wait many hours to have many feature it don't need and don't ask
for. If it ask for an portion using the BBOX, it want receive only that
portion.

Don't ?

Andrea.

Il 24/09/2011 18:01, Olivier Courtin ha scritto:
> On Sat, Sep 24, 2011 at 4:27 PM, Andrea Peri<aperi2007 at gmail.com>  wrote:
>
> Andrea,
>
>> I have some trouble due to the featureset-limit tag.
>>
>> Tinyows apply it before every other filter.
>> I'm not so sure the specs ask to apply it before.
>>
>> I think it should be apply after.e to send it to
>
>> I do the tests using the BBOX filter.
>> Bu I guess the same should be with other filter.
>
>
> Humm what do you mean by before and after ?
>
> If you mean that if you provide your own BBOX filter,
> it should not be limited by the maxfeatures limit,
> well the best way to do it is to not put any maxfeature limit :)
>

_______________________________________________
TinyOWS-users mailing list
TinyOWS-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tinyows-users


More information about the TinyOWS-users mailing list