Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Using uDig to debug my WFS

Hello again!

I'm using uDig 1.2-M5 on Linux (Slackware 12.2)

Whew, I managed to use -debug -consoleLog and configure log4j too!
And here's what I see:

154773 [Worker-2] DEBUG org.geotools.data.wfs - Output: <?xml version="1.0" encoding="UTF-8"?> <GetFeature xmlns="http://www.opengis.net/wfs"; xmlns:gml="http://www.opengis.net/gml"; xmlns:ogc="http://www.opengis.net/ogc"; version="1.0.0" service="WFS" outputFormat="GML2">
 <Query typeName="mineplant">
   <ogc:PropertyName>geometry</ogc:PropertyName>
   <ogc:Filter>
     <ogc:BBOX>
       <ogc:PropertyName>geometry</ogc:PropertyName>
       <gml:Box>
         <gml:coordinates decimal="." cs="," ts=" ">0.0,-90.0 0.0,90.0</gml:coordinates>
       </gml:Box>
     </ogc:BBOX>
     <ogc:Filter></ogc:Filter>
   </ogc:Filter>
 </Query>
</GetFeature>

Looks to me like the coordinates in that request filter should return no features.
Which suggests that I've omitted some important guidance information in the
server's configuration.

Does this situation ring a bell for anyone?


BTW, with uDig 1.2-M5 I now get many, many error messages like this:

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle net.refractions.udig.catalog.imageio ...
Caused by: org.osgi.framework.BundleException: Exception in net.refractions.udig.catalog.imageio.Activator.start() of bundle net.refractions.udig.catalog.imageio.
...
Caused by: java.lang.RuntimeException: GDAL Not Available ... some image formats disabled

I have downloaded the jre1.6.0_11.linux.x86_gdal_ecw_mrsid.tar.gz
and unpacked it in /usr/local/udig, so it is /usr/local/udig/jre

I tried also compiling and installing SWIG, GEOS, proj, and GDAL (all
the latest release versions) and doing ldconfig but I still get these
"GDAL not found" errors.  I don't know whether that's relevant to my
WFS problem--I assume it is a separate concern.

But I invite correction if you can see that I've done some other things wrong.

Thanks!

Peter

Jody Garnett wrote:
One thing to test is the describe feature type request; uDig uses this
information to decide how to parse the features at runtime (so it can
draw them). This is an area that is traditionally difficult for people
to configure with mapserver.

One thing to do is check the log; see if their are any failures.
Another thing to do is turn on logging for WFS requests .. there is an
example in online help of how to do this for WMS. We should be able to
make an example for WFS as well.

Turnin on these options will fill up the log with more detail on what
the WFS client code is doing.

Finally you may wish to try the recent uDig 1.2.x releases where there
is additional WFS support (for both 1.1.0 and several fixes for 1.0
services).

Jody

On Tue, Jun 16, 2009 at 11:51 AM, Peter N.
Schweitzer<pschweitzer@xxxxxxxx> wrote:
I am trying to provide information using WFS through Mapserver.  I am
using uDig as a tool to help determine whether I have created the WFS
properly.

The services are described at http://mrdata.usgs.gov/wfs.html

That page includes links to the capabilities and the first 10 features
of each service.  Just looking at those I don't see a problem, but we
all know that doesn't mean that there is no problem.

So I try it out on the first data set, active mines in the US.  I first
load the US National Atlas county boundary layer (EPSG:4269) from files
(shapefile).  Then I add the WFS.

In uDig (1.1.1 on Windows, 1.2-M5 on Linux) I can load the WFS and I can
show the data table, but the geographic features do not appear on my map.
The .log file doesn't seem to say anything about WFS or about this layer.

Can anyone suggest a strategy for determining what I've done wrong?

--
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533  FAX: (703) 648-6252  email: pschweitzer@xxxxxxxx
<http://geology.usgs.gov/peter/>


Back to the top