-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 for map file #864
Comments
It's really hard to tell based on your description what is wrong. I don't understand where a 404 would come from. All I can say is usually the "null" errors in GeoMoose are from an error in parsing the mapbook. I wish we had better error reporting there. My guess is something is misspelled or an ID doesn't match between the catalog and map-source sections. |
Below is the code
Map File MAP
END ## end Map |
hi @yogeshshejwadkar I think the correction you need to make is in the Catalog section at the bottom of the mapbook.xml. the reference to the layer source needs to be updated from:
to:
|
This I tried before, but as per your suggestion tried again and same error |
From the error, It looks like the path to your mapfile in the map source is also possibly missing a folder.
|
I have added one layer in mapbook and also added the shape file with map file to the data folder. In mapbook I mentioned the correct path of that map file, but still 404 error is showing.
When I open that path from my browser, it is showing the map file correctly.
Please let me know where I am doing mistake.
Also showing another error below
Uncaught TypeError: Cannot read properties of null (reading 'favorite')
at isFavorite (layer-favorite.js:38:31)
at LayerFavorite.render (layer-favorite.js:45:24)
at finishClassComponent (react-dom.development.js:18470:31)
at updateClassComponent (react-dom.development.js:18423:24)
at beginWork$1 (react-dom.development.js:20186:16)
at HTMLUnknownElement.callCallback (react-dom.development.js:336:14)
at Object.invokeGuardedCallbackDev (react-dom.development.js:385:16)
at invokeGuardedCallback (react-dom.development.js:440:31)
at beginWork$$1 (react-dom.development.js:25780:7)
at performUnitOfWork (react-dom.development.js:24695:12)
The above error occurred in the component:
in LayerFavorite (created by Connect(LayerFavorite))
in Connect(LayerFavorite) (created by CatalogLayer)
in div (created by CatalogLayer)
in div (created by CatalogLayer)
in CatalogLayer (created by Connect(CatalogLayer))
in Connect(CatalogLayer) (created by Catalog)
in div (created by CatalogGroup)
in div (created by CatalogGroup)
in CatalogGroup (created by Catalog)
in div (created by CatalogGroup)
in div (created by CatalogGroup)
in CatalogGroup (created by Catalog)
in div (created by Catalog)
in Provider (created by Catalog)
in Catalog (created by Connect(Catalog))
in Connect(Catalog)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
The text was updated successfully, but these errors were encountered: