<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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??<br>
<br>
Milo van der Linden schreef:
<blockquote cite="mid:46B32E35.3090509@zeelandnet.nl" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hello list,<br>
<br>
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..<br>
<br>
My Original worldcities layer (Shapefile) returns;<br>
<FeatureType><br>
<Name>worldcities</Name><br>
<Title>World Cities</Title><br>
<SRS>EPSG:4326</SRS><br>
<LatLongBoundingBox minx="-176.18" miny="-54.28" maxx="179.22"
maxy="69.35"/><br>
</FeatureType><br>
<br>
I then uploaded this particular layer into postGIS with qGIS and now it
states:<br>
<br>
<FeatureType><br>
<Name>worldcities_x</Name><br>
<Title>World Cities PostGIS</Title><br>
<SRS>EPSG:4326</SRS><br>
<LatLongBoundingBox minx="-2.5e+007" miny="-2.5e+007"
maxx="2.5e+007" maxy="2.5e+007"/><br>
</FeatureType><br>
<br>
Ouch! Shouldn't I use QuantumGIS for the import? What happened?<br>
<br>
<br>
Milo van der Linden schreef:
<blockquote cite="mid:46B23CCE.4070808@zeelandnet.nl" type="cite"><font
face="Helvetica, Arial, sans-serif">Hello list,<br>
<br>
(cross posted to mapserver-users and postgis-users)<br>
<br>
I have a postGIS table that contains cities. I am trying to get this
running through mapserver WFS.<br>
<br>
Mapserver WFS doesn't generate errors, but returns no data at all.<br>
<br>
A postgres getsrid tells me the srid is 4326, which is also in my
geometry_columns<br>
qGIS shows the postGIS table direct from the database without problems.<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="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">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</a><br>
<br>
What am I doing wrong?<br>
</font>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td rowspan="3" align="left" height="0" valign="bottom"
width="15"><br>
</td>
<td colspan="2" align="left" height="78" valign="top"
width="0">
<p class="style4">Milo van der Linden <br>
<a moz-do-not-send="true" href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
<a moz-do-not-send="true"
href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
<a moz-do-not-send="true" href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
<a moz-do-not-send="true" href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
</p>
</td>
<td rowspan="3" align="left" height="0" valign="top"
width="15"> </td>
<td valign="top" width="300">
<p class="style5"><span lang="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.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td rowspan="3" align="left" height="0" valign="bottom"
width="15"><br>
</td>
<td colspan="2" align="left" height="78" valign="top" width="0">
<p class="style4">Milo van der Linden <br>
<a moz-do-not-send="true" href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
<a moz-do-not-send="true"
href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
<a moz-do-not-send="true" href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
<a moz-do-not-send="true" href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
</p>
</td>
<td rowspan="3" align="left" height="0" valign="top" width="15"> </td>
<td valign="top" width="300">
<p class="style5"><span lang="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.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
</td>
<td colspan="2" align="left" height="78" valign="top" width="0">
<p class="style4">Milo van der Linden
<br>
<a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
<a href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
<a href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
<a href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
</p>
</td>
<td rowspan="3" align="left" height="0" valign="top" width="15"> </td>
<td valign="top" width="300">
<p class="style5"><span lang="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.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>