[Geomoose-users] Identify error in gm380

James Klassen klassen.js at gmail.com
Thu Oct 14 12:21:37 PDT 2021


My guess is there is something looking for a layer ID that isn’t defined in the mapbook. 

Although I don’t remember seeing that with identify.  (Unless… Are you using query-as?)

Hopefully there isn’t something I’m 3.8 that breaks a valid 3.7 mapbook.  That would generally be considered a bug.  Although if you also updated your index.html/app.js/css to take advantage of the new stuff in 3.8 something could have gotten missed there.



> On Oct 14, 2021, at 11:23, Christopher Hughes <chughes at co.lincoln.or.us> wrote:
> 
> 
> One thing that can be helpful for debugging, is that you can point your index.html to geomoose.js instead of the minified geomoose.min.js.
> This should give you some more useful errors that may give you a better idea of what's going wrong.
> 
> You can also compare your mapbook.xml to the current demo (where the identify is working). Sometimes there are syntax changes
> to fix bugs or add enhancements, which can cause issues if they aren't incorporated into your build.
> 
> Best of luck,
> 
> Chris
> 
>> On Wed, Oct 13, 2021 at 5:14 AM Richard Camejo <rfcamejo at gmail.com> wrote:
>> Hi, I have installed gm380 successfully.
>> The "identify" tool does not work.
>> The error it produces is the following:
>> 
>> TypeError: i is null
>>     r https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     getQueryableLayers https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     value https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     query https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/services/identify.js?v=1:81
>>     startQuery https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:83
>>     value https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:83
>>     Iu https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     unstable_runWithPriority https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:62
>>     Hi https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     Iu https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     mu https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     Ki https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     unstable_runWithPriority https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:62
>>     Hi https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     Ki https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     Xi https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     pu https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     enqueueSetState https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:54
>>     setState https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:46
>>     onStateChange https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     y https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     r https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     setFeatures https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     value https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     value https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     dispatchEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     finishDrawing https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     handleUpEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     handleEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     handleEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     handleMapBrowserEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:38
>>     dispatchEvent https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:27
>>     handlePointerUp_ https://sig.rocha.gub.uy/gm380/htdocs/geomoose/dist/geomoose.min.js?v=1:83
>> 
>> 
>> I have another installation in production with gm370 (https://sig.rocha.gub.uy) in which it works perfectly from GeoServer.
>> 
>> I appreciate any help.
>> 
>> Greetings
>> Richard.
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geomoose-users
> 
> 
> -- 
> Chris Hughes
> 
> GIS Analyst
> Lincoln County Surveyor Department 
> 880 NE 7th St. l Newport, OR 97365
> Tel: (541) 574 1283
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20211014/d78f6982/attachment-0001.html>


More information about the Geomoose-users mailing list