[mapserver-users] getting layers from tinyows
Ahmed Tolba
Ahmed.Tolba at schiebel.net
Mon Feb 6 06:58:53 PST 2017
I found the problem. There should be a field name called geom to let the tinyows recognize the layer. That’s not written in the documentation.
I have another problem.
I created a geom field and I assigned a geometry in postgresql. In GDAL I’m setting a
OGRPoint pt;
pt.setX( 120 );
pt.setY( 240 );
poFeature->SetGeometry( &pt );
if( poLayer->CreateFeature( poFeature ) != OGRERR_NONE )
{
std::cout <<"error creating a feature"<<endl;
}
The Geometry is set. But When I try to reterive the feature its not working and I can’t get the next feature.
Also another thing, What format is Geometry data is. I just send X,Y and what I see in the database is encrypted text, that does not represent anything.
From: Ahmed Tolba
Sent: Monday, February 06, 2017 9:14 AM
To: 'Jeff McKenna'
Cc: mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] getting layers from tinyows
Here is my config .xml and the output from tinyows. I can’t retrieve other layers
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Sunday, February 05, 2017 5:51 PM
Cc: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] getting layers from tinyows
Hi Brent, for the record I have tested TinyOWS (and upgraded it) for MS4W 3.2.0, which is MapServer 7.0.4
(and the same for MapCache)
-Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170206/24e7aa12/attachment.htm>
More information about the MapServer-users
mailing list