<div dir="ltr"><div><br></div>It's also worth mentioning that, as an interim measure, it is possible to upgrade the Apache and PHP portions of your existing MS4W install (as usually those are the portions people are most concerned about for security). <br><br>This was mentioned on the Mapserver list over a year ago, and it does work, you just have to carefully match the versions.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 10:25 PM, Jim Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The MapServer dependency in GeoMoose is entirely in the PHP services.<br>
I've been running GeoMoose since before it was GeoMoose with no PHP<br>
services (but I have different requirements than the parcel demo app<br>
too). The HTML/JS portion of GeoMoose works quite well with WMS/WFS<br>
servers and alternate services written in a variety of languages/frameworks.<br>
<br>
IMHO, much of what is currently implemented in PHP in the demo can now<br>
be better implemented in the browser with vector layers or using WMS<br>
query methods. (The downside of this is the demo services provide a<br>
hopefully simple place for people to start from to integrate GeoMoose<br>
with their own applications/data sources.<br>
<br>
Identify is basically WMS GetFeatureInfo with a loop over each active layer.<br>
<br>
Bird's Eye View and Google Street View just open a new window with a few<br>
parameters set from the map. I don't know why this was ever PHP. I<br>
have code in an extension that does this in the browser for opening up<br>
Bing or Google maps zoomed to the user's approximate extent in<br>
GeoMoose. There is no reason these two couldn't be done the same way.<br>
<br>
Select Features might be a bit tricky on the client only, but I think it<br>
can be done with WMS and it certainly can be done with vector layers.<br>
Even the buffering can be done client side with JSTS as is<br>
experimentally being done at St. Paul.<br>
<br>
Search Parcels should be doable with WMS queries and with vector layers.<br>
<br>
Geocoder could easily be done in the browser, although it may need a<br>
proxy on the "local" server if CORS isn't setup. This could probably be<br>
done with just the Apache HTTPd configuration as long as some thought is<br>
given to security implications.<br>
<br>
The tricky ones as I see it are the services that generate PDFs, and my<br>
experiments a year or so ago demonstrated that modern browsers are<br>
honoring sizes specified in real units (inches, mm) in @media print<br>
rules, thus allowing printing to scale direct from the browser. (Higher<br>
than screen DPI printing works by putting an image with the right number<br>
of pixels into the right sized spot on the page).<br>
<br>
<br>
As for MS4W: If your organization finds it useful, I'd suggest talking<br>
to Jeff and maybe throwing some funds his way to help keep new versions<br>
coming. Building the binaries on Windows is a lot of work. Unlike the<br>
Linux/Unix builds where most of the pieces such as Apache, PHP, GDAL,<br>
etc. are already packaged, on Windows you get to start with just a C++<br>
compiler (and not even a fully useful C library, in the POSIX sense).<br>
Even if someone else has built some of the dependencies you need, they<br>
are difficult to use because of the need to match compiler versions and<br>
build options (I count 10 separate builds on <a href="http://gisinternals.com" target="_blank">gisinternals.com</a> for one<br>
version of MapServer) with everything that links together. Basically<br>
that means you get to build the whole environment from scratch while<br>
dealing with Windows specific build issues that turn up.<br>
<br>
The last I checked, OSGeo4W also had issues with being out of date for<br>
running GeoMoose. In particular, PHP being at 5.2.5 and php_mapscript at<br>
5.6.6 (although mapserver and mapscript_python are reasonably recent at<br>
6.4.1)<br>
<br>
The gisinternals builds might be workable (if we drop PHP), but look<br>
like they have a lot more work for the user to install than MS4W does.<br>
<div class="HOEnZb"><div class="h5"><br>
On 05/26/2015 05:50 PM, Brent Fraser wrote:<br>
> Dependencies are a blessing and a curse. The great thing about MS4W<br>
> is it supplies PHP Mapscript (along with a nice Windows installer for<br>
> Apache, Mapserver, Proj4, and GDAL), which GeoMOOSE uses for the<br>
> server-side scripting of various services. The other distributions<br>
> don't [usually?] supply PHP Mapscript, but they do supply the more<br>
> popular (and better maintained?) Python Mapscript.<br>
><br>
> Maybe it's time to put the PHP scripts through the ol'<br>
> PHP2Python-izer...<br>
><br>
> Best Regards,<br>
> Brent Fraser<br>
><br>
> On 5/26/2015 3:05 PM, Eli Adam wrote:<br>
>> Hi Bob,<br>
>><br>
>> On Tue, May 26, 2015 at 12:41 PM, Bistrais, Bob<br>
>> <<a href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>> wrote:<br>
>>> First, a sincere thanks to everyone involved in the development and<br>
>>> support<br>
>>> of GeoMoose, it’s a great product.<br>
>>><br>
>>><br>
>>><br>
>>> With regard to the future, I know that GeoMoose continues to evolve<br>
>>> and I’m<br>
>>> happy to see that. My concern is with the MS4W backend, which<br>
>>> apparently is<br>
>>> not being further developed for Windows. We are concerned about<br>
>>> that at my<br>
>> MS4W != MapServer. See also other Windows MapServer distirbutions:<br>
>><br>
>> OSGeo4W: <a href="http://download.osgeo.org/osgeo4w/x86_64/versions.html" target="_blank">http://download.osgeo.org/osgeo4w/x86_64/versions.html</a><br>
>> Nightly builds (including of stable): <a href="http://www.gisinternals.com/" target="_blank">http://www.gisinternals.com/</a><br>
>><br>
>>> organization, and are looking at a possible move to using GeoServer<br>
>>> on the<br>
>> So MS4W not releasing doesn't logically lead to GeoServer (or other<br>
>> MapServer replacements). You organization could also contact Jeff<br>
>> about funding a release, I'm not sure if that is an option.<br>
>><br>
>>> backend. I know that others on this forum have successfully used<br>
>>> GeoServer<br>
>>> with GM. My question is how to handle any custom queries and<br>
>>> functions.<br>
>>> With MS4W, we build custom functions with PHP MapScript. What are<br>
>>> people<br>
>>> doing with a GeoServer backend? What is being planned for future<br>
>>> releases<br>
>>> of GeoMoose to allow for this?<br>
>> More full featured support of GeoServer and other rendering engines is<br>
>> indeed a great idea, however, there are plenty of reasons to pursue<br>
>> that other than one MapServer binary distribution not releasing at<br>
>> high frequency. That seems to be incorrectly conflating issues.<br>
>><br>
>> Indeed, perhaps the project should look at which Windows package to<br>
>> build off of. It was very useful for years to build off of the MS4W<br>
>> distribution which provided a base for many MapServer projects to<br>
>> build on top of. GeoMoose could be packaged in OSGeo4W. It would<br>
>> still have a convenient installer that provides a working stack.<br>
>> GeoMoose would also get the exposure of all the OSGeo4W users. It<br>
>> might mean more involvement with OSGeo4W to keep GeoMoose working with<br>
>> the rest of the stack and coordinating dependencies.<br>
>><br>
>> To me this is two mostly unrelated issues:<br>
>> 1) default (complete) Windows GeoMoose distribution<br>
>> 2) Improve (or abstract) support for additional rendering engines<br>
>> (GeoServer, Mapnik, QGIS Server, etc) - this topic could leads to<br>
>> other architecture discussions like WFS, WPS, client-side services,<br>
>> etc.<br>
>><br>
>> Best regards, Eli<br>
>><br>
>>> Thanks,<br>
>>><br>
>>> Bob<br>
>>><br>
><br>
><br>
> _______________________________________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br>
<br>
_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></div></div></blockquote></div><br></div>