[Geomoose-users] problem setting up mapbook.xml in 2.6-projection issue

Bistrais, Bob Bob.Bistrais at maine.gov
Tue Apr 24 11:24:43 EDT 2012


OK, we got it now!

The latest rendition of my projection file is good.  The negative minX value is only because I have a wide, short screen with Firebug open.  So I corrected the path to the symbol and fontset files, and now a nice green picture of Maine (we're 90% forest after all) appears on screen

Many thanks to everyone for coaching me through this one.  

Bob


-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Eli Adam
Sent: Tuesday, April 24, 2012 11:19 AM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6-projection issue

Bob,

On Tue, Apr 24, 2012 at 8:04 AM, Bistrais, Bob <Bob.Bistrais at maine.gov> wrote:
> When opening in a new tab, here's the error message:
>
> loadSymbolSet(): Unable to access file. (../../symbols/symbol.sym)
>
>
>
> However, the map file for this layer does not call for a symbol set, 
> and I'm using just a simple polygon fill:
>
>

It may not call for a symbol set, but it probably INCLUDE "../../geomoose_globals.map"
or similar which does.

It looks like your .map is at /ms4w/apps/maptest/maps/demo/parcels/parcels.map

I'm not certain where you geomoose_globals.map is located or what it references for symbols but try to make sure that everything is at the correct path.  Does changing geomoose_globals.map to ../symbols/symbol.sym

do anything?

Eli
>
>     STYLE
>
>       COLOR 130 190 75
>
>       OUTLINECOLOR 0 0 0
>
>     END
>
>
>
> From: Dan Little [mailto:danlittle at yahoo.com]
> Sent: Tuesday, April 24, 2012 10:40 AM
>
> To: Bistrais, Bob; Brian Fischer; geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> I can't open that link from here. :-)
>
>
>
> Can you open it in a different tab and see what error your are 
> receiving? I agree the coordinates look wrong for a UTM projection.
>
>
>
> ________________________________
>
> From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
> To: Dan Little <danlittle at yahoo.com>; Brian Fischer 
> <bfischer at houstoneng.com>; geomoose-users at lists.osgeo.org
> Sent: Tuesday, April 24, 2012 9:28 AM
> Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> Page Info/Media didn't tell me much.  Firebug- here's what the request 
> was for the parcel layer:
>
>
>
> http://localhost/cgi-bin/mapserv.exe?FORMAT=image%2Fpng%3Bbits%3D8&MAP
> =%2Fms4w%2Fapps%2Fmaptest%2Fmaps%2F%2Fdemo%2Fparcels%2Fparcels.map&TRA
> NSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=
> parcels&SRS=EPSG%3A26919&BBOX=-787590.97689331,4596412.4907104,1812490
> .9768933,5403587.5092896&WIDTH=1063&HEIGHT=330
>
>
>
>
>
> The BBOX looks a bit weird- notice that it starts with a negative 
> number, in
> 26919 I'd expect all positive.  Also not able to turn on the USGS 
> data, which I'd hoped would cover my area. (I get pink screen with the 
> USGS data
> too)
>
>
>
> From: Dan Little [mailto:danlittle at yahoo.com]
> Sent: Tuesday, April 24, 2012 10:11 AM
> To: Bistrais, Bob; Brian Fischer; geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> Can you use Firebug or Firefox's "Page Info"'s "Media" tab to take a 
> look at the calls that are being made?  There is probably an XML error 
> that will indicate what is wrong.
>
>
>
> ________________________________
>
> From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
> To: Dan Little <danlittle at yahoo.com>; Brian Fischer 
> <bfischer at houstoneng.com>; geomoose-users at lists.osgeo.org
> Sent: Tuesday, April 24, 2012 8:54 AM
> Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> Here is what I put in my new projection file.  I am in UTM 19N, which 
> is EPSG:26919...
>
> Proj4js.defs["EPSG:26919"] = "+title=NAD83 / UTM zone19N +proj=utm 
> +zone=19
> +a=6378137.0 +b=6356752.3141403";
>
>
>
> -Still gets the pink screen.  If I use the epsg 26915 file, which is 
> included (and very similar to my 26919), the map will draw without 
> pink screen.
>
> Does anything look out of place here?
>
>
>
> From: Dan Little [mailto:danlittle at yahoo.com]
> Sent: Tuesday, April 24, 2012 9:23 AM
> To: Brian Fischer; Bistrais, Bob; geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> YOU SHOULD NEVER CHANGE ANY SETTINGS IN "settings.ini"  .
>
>
>
> ONLY CHANGE SETTINGS IN "local_settings.ini"  ANY SETTING IN 
> "local_settings.ini" WILL OVERRIDE A SETTING IN "settings.ini"
>
>
>
> You have been warned.
>
>
>
> ________________________________
>
> From: Brian Fischer <bfischer at houstoneng.com>
> To: "Bistrais, Bob" <Bob.Bistrais at maine.gov>; 
> "geomoose-users at lists.osgeo.org" <geomoose-users at lists.osgeo.org>
> Sent: Tuesday, April 24, 2012 8:06 AM
> Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> There are a few more steps you have to take if you are going to change 
> the projection.  Here is a basic list.
>
> 1)      Create a new Proj4js projection definition and put it in 
> htdocs/projections
>
> 2)      In geomoose.html make sure you have a reference to that projection.
> You should see a couple other in there now for 3857
>
> 3)      Change the projection in conf/settings.ini
>
> 4)      Change the projection in conf/mapbook.xml
>
>
>
> This should be all you need to do.
>
>
>
> Brian Fischer, CFM
>
> GIS Manager
>
> Houston Engineering, Inc.
>
> O 763.493.4522 | D 763.493.6664 | M 763.229.2734
>
>
>
> From: geomoose-users-bounces at lists.osgeo.org
> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, 
> Bob
> Sent: Monday, April 23, 2012 3:27 PM
> To: geomoose-users at lists.osgeo.org
> Subject: [Geomoose-users] problem setting up mapbook.xml in 2.6- 
> projection issue
>
>
>
> I downloaded the latest nightly to get familiar with release 2.6.  I'm 
> afraid I didn't get very far before the dreaded Pink Screen.  This 
> happened when editing mapbook.xml, about line 11.  The parameter is 
> the projection, EPSG:3857.  My data is in EPSG:26919.  If I change 
> that line to 26919, the map screen goes pink.  I can't find any errors in Firebug or the error.txt.
> Any suggestions?
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
>
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users


More information about the Geomoose-users mailing list