And when I query the bbox in postGIS with an SQL statement using the extent function; I get the right results! What is wrong with my postGIS/Mapserver connection??
Milo van der Linden schreef: > Hello list, > > I previously posted the message that my WFS request returns no data; I > found out something else. When I issue a GetCapabilities; I find out > that the BBOX is looking really strange.. > > My Original worldcities layer (Shapefile) returns; > <FeatureType> > <Name>worldcities</Name> > <Title>World Cities</Title> > <SRS>EPSG:4326</SRS> > <LatLongBoundingBox minx="-176.18" miny="-54.28" maxx="179.22" > maxy="69.35"/> > </FeatureType> > > I then uploaded this particular layer into postGIS with qGIS and now > it states: > > <FeatureType> > <Name>worldcities_x</Name> > <Title>World Cities PostGIS</Title> > <SRS>EPSG:4326</SRS> > <LatLongBoundingBox minx="-2.5e+007" miny="-2.5e+007" maxx="2.5e+007" > maxy="2.5e+007"/> > </FeatureType> > > Ouch! Shouldn't I use QuantumGIS for the import? What happened? > > > Milo van der Linden schreef: >> Hello list, >> >> (cross posted to mapserver-users and postgis-users) >> >> I have a postGIS table that contains cities. I am trying to get this >> running through mapserver WFS. >> >> Mapserver WFS doesn't generate errors, but returns no data at all. >> >> A postgres getsrid tells me the srid is 4326, which is also in my >> geometry_columns >> qGIS shows the postGIS table direct from the database without problems. >> >> http://82.176.214.209/cgi-bin/mapserv.exe?map=/ms4w/apps/mappingworlds/service/wfs.map&service=WFS&REQUEST=getfeature&typename=worldcities_x&version=1.0.0 >> >> What am I doing wrong? >> -- >> >> >> >> >> Milo van der Linden >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> http://www.3dsite.nl >> >> >> >> De informatie in dit bericht reflecteerd mijn persoonlijke mening en >> niet die van een bedrijf of instantie. Aan de informatie kunnen geen >> rechten worden ontleend. Indien dit bericht onderdeel is van een >> forum, mailing-list of community dan gelden automatisch de >> bijbehorende voorwaarden. >> > > > -- > > > > > Milo van der Linden > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.3dsite.nl > > > > De informatie in dit bericht reflecteerd mijn persoonlijke mening en > niet die van een bedrijf of instantie. Aan de informatie kunnen geen > rechten worden ontleend. Indien dit bericht onderdeel is van een > forum, mailing-list of community dan gelden automatisch de > bijbehorende voorwaarden. > > ------------------------------------------------------------------------ > > _______________________________________________ > postgis-users mailing list > [EMAIL PROTECTED] > http://postgis.refractions.net/mailman/listinfo/postgis-users > -- Milo van der Linden [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.3dsite.nl De informatie in dit bericht reflecteerd mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan de informatie kunnen geen rechten worden ontleend. Indien dit bericht onderdeel is van een forum, mailing-list of community dan gelden automatisch de bijbehorende voorwaarden.
