[TinyOWS-users] InvalidParameterValue

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Sep 28 10:51:07 EST 2010


Hi,

It works for me, see
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=getfeature&typename=tows:osm_polygon&maxfeatures=1

I have primary key in myid column and TinyOWS is using it for fid (<tows:osm_polygon fid="osm_polygon.1">)

-Jukka-


-----Alkuperäinen viesti-----
Lähettäjä: tinyows-users-bounces at lists.maptools.org puolesta: Gissur Þórhallsson
Lähetetty: ti 28.9.2010 18:15
Vastaanottaja: TinyOWS users discuss list
Aihe: Re: [TinyOWS-users] InvalidParameterValue
 
No, this is not the problem - since I have a primary key (called gid)

The fid is WFS specific and is generated on the fly by the WFS service when
you get the features originally.

I'm just at a loss at to why I'm not getting fid's from the service - the
tag in the xml is empty.

On Tue, Sep 28, 2010 at 1:07 PM, Rahkonen Jukka
<Jukka.Rahkonen at mmmtike.fi>wrote:

>  Hi,
>
> I guess that you do not have primary key in your table.  If this is the
> case, create it
>
> ALTER TABLE my_table add myid serial;
>
> ALTER TABLE my_table ADD PRIMARY KEY (myid);
>
> -Jukka Rahkonen-
>
>  ------------------------------
> *Lähettäjä:* tinyows-users-bounces at lists.maptools.org [mailto:
> tinyows-users-bounces at lists.maptools.org] *Puolesta *Gissur Þórhallsson
> *Lähetetty:* 28. syyskuuta 2010 13:48
>
> *Vastaanottaja:* TinyOWS users discuss list
> *Aihe:* Re: [TinyOWS-users] InvalidParameterValue
>
> Okay - got 0.9.0 running - and this is what the log outputs:
> http://tiny.pastebin.com/GbYyABpN
>
>  <http://tiny.pastebin.com/HKRYQJKa>tinyows doesn't give me any fids when
> I request the features originally so I'm not sure what I'm doing wrong.
>
> On Mon, Sep 27, 2010 at 3:01 PM, Olivier Courtin <
> olivier.courtin at gmail.com> wrote:
>
>>
>> On Sep 27, 2010, at 4:58 PM, Gissur Þórhallsson wrote:
>>
>> > user at localhost:/$ opt/tinyows/bin/tinyows --version
>> > gives me this:
>> > 0.8.0 SVN
>> >
>> > Maybe I should upgrade and see whether that changes anything.
>>
>> Yes 0.8.0 didn't have log support
>>
>> --
>> Olivier
>> _______________________________________________
>> TinyOWS-users mailing list
>> TinyOWS-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tinyows-users
>>
>
>
>
> --
> Gissur Þórhallsson
>
> Loftmyndir ehf.
> Laugavegur 13
> IS 101 Reykjavík - Iceland
> sími (tel): (+354) 540 2500
> tölvupóstur (email): gissur at loftmyndir.is
>
>
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users
>
>


-- 
Gissur Þórhallsson

Loftmyndir ehf.
Laugavegur 13
IS 101 Reykjavík - Iceland
sími (tel): (+354) 540 2500
tölvupóstur (email): gissur at loftmyndir.is



More information about the TinyOWS-users mailing list