Hi, I can connect to a WFS source (served by Geoserver) and view layers in the layer tree, but when I 'import' features, they all arrive at 0,0.
The source coordinates are WGS84 (EPSG 4326) and this is reproducible with the stock layers from Geoserver (eg. topp:states). Features I can query fine, even after they are imported I can click to examine values, but the coordinates are just wrong.
QGIS renders the WFS features fine. ArcGIS at least renders the default topp:states layer fine.
The 'show extents' function displays coordinates in the correct range...in the source coordinate system.
One other thing is also that the 'show extents' function doesn't reproject into the coordinate system defined in the DGN even something as simple as UTM. I was under the impression it was supposed to do this as well?
Are there any obvious blunders that people run into?
Anyway, thanks in advance.
Which WFS source from Geoserver do you use? Please provide more details so that we can thoroughly understand and troubleshoot the problem. If necessary, we can use the Service Request tools to share files and look into this further.
I'm not sure what you mean, the connection string is simply http://localhost:8081/geoserver/<namespace, ie topp>/wfs
However I think I figured out what the problem is. If you ever click 'flip coordinates' it hoses your WFS imports from any source, new or old, for the rest of the Powerview session. In my case, I'd done this once, and even if you click it off, or create a new WFS import, Powerview will remember this forever for all imports until you restart the program.
Feel free to test and verify. On a new session of Powerview, using vanilla out of the box geoserver, here are my steps to reproduce.
-Create an import for http://localhost:8080/geoserver/topp/wfs (or wherever the server is at)
-Import topp:states once. This works fine.
-Create a new import, with 'flip coordinates' checked on (by default it's checked off, but if you're used to WFS you know that this is sometimes needed so when debugging stuff sometimes this is one of the random things you try...)
-Import topp:states again from the new import. This should show up at 0,0
-Import topp:states from the old import. This should also show up at 0,0
Any further 'imports should always import to 0,0 until you restart powerview.