[TinyOWS-users] Features not being displayed
Toni Martínez
tmartinh at gmail.com
Thu Aug 11 07:17:03 EST 2011
Hi Olivier,
Thanks for your reply.
I've tried your suggestions so now my layer definition is as follows:
var wfs = new OpenLayers.Layer.Vector("molleres", {
strategies: [new
OpenLayers.Strategy.BBOX(),saveStrategy],
projection: new
OpenLayers.Projection("EPSG:27573"),
protocol: new OpenLayers.Protocol.WFS({
version: "1.0.0",
url: "
http://molleresdevel.eurogeotecnica.com/cgi-bin/tinyows",
featureType: "molleres_shp",
srsName:
"urn:ogc:def:crs:EPSG::27573",
featureNS: "
http://molleresdevel.eurogeotecnica.com",
geometryName: "the_geom",
schema: "
http://molleresdevel.eurogeotecnica.com/cgi-bin/tinyows?service=WFS&version=1.0.0&request=DescribeFeatureType&typename=og:molleres_shp
"
})
},{
minResolution: 1.068115234375
});
Unfortunately, results are the same so no features are being displayed. Do
you have more tips for me?
Regards,
Toni M.
2011/8/4 Olivier Courtin <olivier.courtin at gmail.com>
> On Thu, Aug 4, 2011 at 11:11 PM, Toni Martínez <tmartinh at gmail.com> wrote:
>
> Hi Toni,
>
> >> And here you can see my openlayers code which is very close to this
> >> example
> http://openlayers.org/dev/examples/wfs-protocol-transactions.html
>
> Indeed,
> Could you try 2 different things (one after the other, and/or both):
> - With WFS version 1.0.0 rather than 1.1.0
> - With srs as urn style: urn:ogc:def:crs::27573 rather than EPSG:27573
>
> To check if it's 'only' a reverse axis coordinates issue.
>
> --
> Olivier
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110811/27cd0531/attachment.htm
More information about the TinyOWS-users
mailing list