[Geomoose-users] strange problem with select

Bistrais, Bob Bob.Bistrais at maine.gov
Wed Jul 31 09:38:20 PDT 2013


Exactly the kind of thing I'm seeing.  Here's a sample of my experience...

[cid:image001.png at 01CE8DEA.D6281DA0]



...Notice that 1077 (upper left of selected) has not selected.




From: Jim Klassen [mailto:klassen.js at gmail.com]
Sent: Wednesday, July 31, 2013 12:35 PM
To: Bistrais, Bob
Cc: eadam at co.lincoln.or.us; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] strange problem with select

Although, this one puzzles me.  Parcels, 100ft, Parcels:  I would have thought '1025 would be selected since it touches the orange line (unless the parcels dataset has some topology issues.)

[cid:image002.jpg at 01CE8DEA.D6281DA0]

On Jul 31, 2013, at 10:48 AM, Bistrais, Bob wrote:


Hi Eli,

It appears to be random which adjacent polygons are selected.

Actually, yes, I see the same issue in the demo- try the Select Features tool.  Use a buffer of 20 feet or so, using features in Parcels.  Now select a parcel and hit Go.  You'll see that it selects some of the adjacent parcels, but not all of them (at least not in my testing).  Try it and you'll see what I mean.

If you select just one polygon, then do the "Buffer these results", I am finding it more consistent in selecting the adjacent polygons.


From: Eli Adam [mailto:eadam at co.lincoln.or.us]
Sent: Wednesday, July 31, 2013 11:20 AM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: Re: [Geomoose-users] strange problem with select

Bob,


On Tue, Jul 30, 2013 at 1:29 PM, Bistrais, Bob <Bob.Bistrais at maine.gov<mailto:Bob.Bistrais at maine.gov>> wrote:

I am working on a GM parcel application (GM 2.6.1).  I was testing the buffered select service.  With no buffering (just select by mouse), it seems to work fine.  On the buffered select I encounter a weird problem.   If you select a parcel, set a buffer distance and query layer (the parcels), click Go- it selects only a few of the surrounding parcels.  In other words, if I set a buffer distance of 50 or 100 I'd expect to get all adjacent parcels selected, but it only selects some of the expected result.

Is it random which ones are selected?  Is it a shift one way or the other?  Area you able to see this in the demo?  Are some never selected?  Do you know if you have invalid/odd geometries or data in those areas?  If you have a PostGIS instance handy, you might want to load it up and run ST_IsValid (http://postgis.net/docs/manual-2.0/ST_IsValid.html) or similar functions to see if there is any pattern of this problem with something that might be in the data.

This isn't a lot of detail to try and figure it out.  You might be able to get more info from checking the requests and responses in firebug (i.e. perhaps it is a bad request vs. bad response vs. bad handling of a correct response, etc).

I hope these ideas lead to something useful.
Eli




The data is a shapefile, if that matters.   Although I had started modifying the select.php for my project, I went back to the original when I discovered the problem, and it's still doing it.  Any idea what's going on?

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130731/28626ea1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 46101 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130731/28626ea1/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 28951 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130731/28626ea1/attachment-0001.jpg>


More information about the Geomoose-users mailing list