[Geomoose-users] [GeoMOOSE] Highlighting missing from select feature tool - MS4W specific (#107)

TC Haddad tchaddad at gmail.com
Mon Dec 7 11:44:52 PST 2015


Hi Mark,

If I understood Jeff's email correctly, you should only have to make the
correction in the MAP file, and you should not have to touch any PHP files.

Can you confirm if you tried only editing the MAP file with the correction?
The key line is the DATA line below...

Tanya

---------------- from Jeff's email --------------- > >

  LAYER
    TYPE LINE
    STATUS ON
    NAME 'selected'
    CONNECTIONTYPE OGR
    CONNECTION '/ms4w/tmp/ms_tmp/select_132761447356573.db'
    DATA 'select wkt_geometry from features'
    CLASS
      STYLE
        OUTLINECOLOR 255 255 0
        COLOR 0 0 0
      END
    END
  END
END #map


On Mon, Dec 7, 2015 at 11:19 AM, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:

> Eli,
>
>
>
> My best guess is that MapServer on Linux allows a shorthand sql query to
> SpatialLite Databases and MS4W does not.  For Example:
>
> ·         DATA ‘features’   ßThis shorthand sql query might only work in
> Linux Mapserver.
>
> ·         DATA ‘SELECT * FROM features’  ß This equivalent sql statement
> might work in both the Linux and MS4W flavors of MapServer.
>
>
>
> Sincerely,
>
> *Mark Volz*
>
>
>
>
>
> *From:* Eli Adam [mailto:eadam at co.lincoln.or.us]
> *Sent:* Monday, December 07, 2015 11:31 AM
> *To:* Mark Volz
> *Cc:* geomoose-users at lists.osgeo.org; tchaddad at gmail.com
> *Subject:* Re: [Geomoose-users] [geomoose] Highlighting missing from
> select feature tool - MS4W specific (#107)
>
>
>
>
>
>
>
> On Mon, Dec 7, 2015 at 9:20 AM, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:
>
> Hello,
>
>
>
> A while back I reported an issue with the selection results not displaying
> on GeoMOOSE specifically with MS4W.  Thanks to Jeff and Tanya the
> highlights now work!
>
>
>
> Changes in c:\ms4w\apps\geomoose2\php\highlight.php
>
> Line 47
> Replace: DATA 'features'
> With: DATA 'select wkt_geometry from features'
>
> Line 66
> Replace: DATA 'selection'
> With: DATA 'select area, wkt_geometry from selection'
>
>
>
> We might want to look for a generalized approach that will work in all
> cases and not require people to edit highlight.php.
>
>
>
>
> Questions:
>
>
>
> ·         Perhaps it might be a good idea to verify that these changes
> don’t crash the Linux version of GeoMOOSE.
>
> Is this about operating system or data source type?  It sounds like it
> might be more about shapefile vs database than operating system.
>
>
>
>
> ·         In GitHub how do we close or mark a ticket as answered?
>
>
>
> When logged in, I think at the bottom where you can comment is a button
> that says "close issue."
>
>
>
> Best regards, Eli
>
>
>
>
>
> Sincerely,
>
> *Mark Volz*
>
>
>
>
>
> *From:* TC Haddad [mailto:notifications at github.com]
> *Sent:* Friday, December 04, 2015 4:33 PM
> *To:* geomoose/geomoose
> *Cc:* Mark Volz
> *Subject:* Re: [geomoose] Highlighting missing from select feature tool -
> MS4W specific (#107)
>
>
>
> Hi Mark, I think this is the ticket for the issue that Jeff just commented
> on on the mailing list:
> https://lists.osgeo.org/pipermail/geomoose-users/2015-December/005813.html
> Can you try his solution and report back and close this issue if his
> solution works for you?
>
>> Reply to this email directly or view it on GitHub
> <https://github.com/geomoose/geomoose/issues/107#issuecomment-162100544>.
>
>
> _______________________________________________
> Geomoose-users mailing list
> 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/20151207/0f96cfad/attachment-0001.html>


More information about the Geomoose-users mailing list