[maplab-users] GMAP problems
Jeff McKenna
jmckenna at dmsolutions.ca
Sun Nov 28 11:16:47 EST 2004
Well that's good news. I also still get those errors in my
MS_ERRORFILE, but no errors are displayed in my application, the map is
displayed properly, and the application functions properly.
jeff
Paul Dymecki wrote:
> Hi Jeff,
> Still have some problems , that took care of the projection problem, but
> i still have the following error from in my apache error logs:
>
> [Sun Nov 28 11:08:06 2004] [error] [client 127.0.0.1] Sun Nov 28 11:08:04
> 2004 - msInsertHashTable: Hash table error. Invalid hash table or key\r
>
>
> ----- Original Message -----
> From: "Jeff McKenna" <jmckenna at dmsolutions.ca>
> To: "Paul Dymecki" <pdymecki at sympatico.ca>
> Sent: Sunday, November 28, 2004 10:14 AM
> Subject: Re: [maplab-users] GMAP problems
>
>
>
>>Paul can you try my suggestion and please let the list know your
>>results..I'm not sure yet when the next "beta" will be available and
>>this could be the temporary solution (if it works for you).
>>
>>jeff
>>
>>
>>
>>
>>
>>Paul Dymecki wrote:
>>
>>>Thanks,
>>> Jeff much appreciated, we will need the beta for some maps that
>
> support
>
>>>OGC:WMS/OGC:WFS on the same server...
>>>Paul
>>>
>>>----- Original Message -----
>>>From: "Jeff McKenna" <jmckenna at dmsolutions.ca>
>>>To: "Paul Dymecki" <pdymecki at sympatico.ca>
>>>Cc: "MapLab-users" <maplab-users at maptools.org>
>>>Sent: Saturday, November 27, 2004 6:10 PM
>>>Subject: Re: [maplab-users] GMAP problems
>>>
>>>
>>>
>>>
>>>>Hi Paul,
>>>>
>>>>I've done a little digging, and I can make my gmapfactory app work again
>>>>with php_mapscript_44_beta2.dll. In
>>>>~/yourgmapfactoryapp/wrapper/map_session.php comment the following line:
>>>>
>>>>line 845 $this->oMap->setprojection(implode( "\n", split( " ",
>>>>$aszKeys["SRS"] ) ));
>>>>
>>>>If I comment out that line my gmapfactory applications work (for
>>>>mapscript_42 and 44. I'm not a developer, so this isn't a fix...but try
>>>>and see if it works for you. Hopefully one of the original developers
>>>>can explain the purpose of this line, so I'll add this to the bug report
>>>>and see what they say.
>>>>
>>>>jeff
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Jeff McKenna wrote:
>>>>
>>>>
>>>>>Well Paul good/bad news. You have found a good bug. In my previous
>>>>>tests it seems I was using mapfiles that did not require mapserver (or
>>>>>the proj4 library) to reproject. In my gmapfactory test application
>>>>>(using a mapfile that forces a reprojection) using
>>>>>php_mapscript_44_beta2.dll no image is shown..but if I change
>>>>>globprefs.php to use php_mapscript_42.dll the map image appears.
>>>>>Removing the projection references in the mapfile eliminates this
>>>>>problem with php_mapscript_44.dll. So you have found a good one
>
> indeed.
>
>>>>>I've filed a bug on maptools
>>>>>(http://www.maptools.org/bugzilla/show_bug.cgi?id=872) and hopefully we
>>>>>can come up with a solution for this shortly.
>>>>>
>>>>>jeff
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Paul Dymecki wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hi Daniel,
>>>>>> The scenario is i have upgraded to mapserver4.4beta. A previous
>>>>>>GMAP
>>>>>>program is now not working, for some reason except when i comment out
>>>>>>the
>>>>>>projection sections from the mapfile(of course the map does'nt display
>>>>>>properly) The same goes for the Tutorial map that comes with maplab
>>>
>>>ie.
>>>
>>>
>>>>>>works fine until i add the following projection:
>>>>>>PROJECTION
>>>>>> "init=epsg:42304"
>>>>>>END
>>>>>>
>>>>>>Also my old GMAP application does display fine in mapedit preview
>>>>>>section,
>>>>>>so i was wondering if i could do code substitution somehow. ie. copy
>>>>>>over
>>>>>>the code from mapedit to gmap?
>>>>>>thx for any ideas....
>>>>>>Paul
>>>>>>
>>>>>>----- Original Message ----- From: "Daniel Morissette"
>>>>>><dmorissette at dmsolutions.ca>
>>>>>>To: "Paul Dymecki" <pdymecki at sympatico.ca>
>>>>>>Cc: "MapLab-users" <maplab-users at maptools.org>
>>>>>>Sent: Friday, November 26, 2004 2:56 PM
>>>>>>Subject: Re: [maplab-users] GMAP problems
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Paul Dymecki wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>ok a bit further along; on commenting out the projection section of
>>>>>>>>the
>>>>>>
>>>>>>
>>>>>>map
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>my base layers are then viewable so it's definitely a projection
>>>>>>
>>>>>>
>>>>>>problem..
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>Paul
>>>>>>>>
>>>>>>>
>>>>>>>I didn't follow this whole thread, but have you considered sharing
>>>
>>>your
>>>
>>>
>>>>>>>mapfile with the list? I'd suspect an incomplete PROJECTION
>>>
>>>definition.
>>>
>>>
>>>>>>>That's what the error message tells us:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>2004 - msProcessProjection(): Projection library error.
>>>
>>>projection
>>>
>>>
>>>>>>not
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>>named\r
>>>>>>>
>>>>>>>
>>>>>>>Daniel
>>>>>>>--
>>>>>>>------------------------------------------------------------
>>>>>>>Daniel Morissette dmorissette at dmsolutions.ca
>>>>>>>DM Solutions Group http://www.dmsolutions.ca/
>>>>>>>------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Maplab-users mailing list
>>>>>>Maplab-users at lists.maptools.org
>>>>>>http://lists.maptools.org/mailman/listinfo/maplab-users
>>>>>>
>>>>>
>>>>>
>>>>--
>>>>Jeff McKenna
>>>>GIS Specialist
>>>>DM Solutions Group Inc.
>>>>http://www.dmsolutions.ca
>>>>
>>>
>>>
>>>
>>
>>--
>>Jeff McKenna
>>GIS Specialist
>>DM Solutions Group Inc.
>>http://www.dmsolutions.ca
>>
>
>
>
--
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the Maplab-users
mailing list