-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
1.6.0 cmake fails with error: 'mapcache_source' has no member named 'render_map' #169
Comments
|
I aso get build errors when building with the flag I can get past the build errors via the patch However, I get a seg fault when my I do see that libmapserver.so support is reported as experimental. For anyone who has used it in the past, what sort of performance benefit can one expect? |
|
Digging through the mapserver-dev mailing list, I am under the impression that MapCache reading directly from a Mapfile is quite experimental indeed and possibly deprecated several years ago around the time of RFC 71. Perhaps config option Edit: #126 notes the unsupported nature of this, but Thomas will accept a PR to fix. |
|
i concur with assessment. I don't know that I'd remove the source code but updating the cmake configuration to hide that option and the docs would make sense. Unless there's a pull request coming! I think basically what that module was doing was embedding some of the functionality found in the MapServer CGI directly in MapCache. Performance should be better particularly with metatile generation since the image is doesn't have to be created, encoded, sent over the wire and decoded. I wouldn't mind helping to fix if there were interested parties... Steve |
|
@jbo-ads, this one probably your anointing as Mr. MapCache... |
|
I came across this option reading all the BTW I agree with the point to remove it from the documentation if you cannot even compile it. |
|
+1 for removing the possibility to configure Mapcache with mapfile that has been a theoretical option for a long time because it does not compile. IMHO similar option did not work especially well with TinyOWS because editing the mapfile for Mapserver could easily break TinyOWS. In theory it would be easier for the admin to maintain one mapfile that serves both Mapserver and TinyOWS (or MapCache) but in real life the effect was the opposite: it was harder to maintain one multi-purpose mapfile than two separate configurations. Probably the |
|
If everybody agrees, I can remove the compilation option from CMake and references to it in documentation. I can delete the source file as well since Git keeps an archive anyway. Unfortunately I have not enough time to work the other way, i.e. make this interesting feature work. |
During cmake on mapcahce 1.6.0 it fails for two members of mapcache_source struct.
The mapcache_source struct has _render_map and _query_info memebrs in mapcache.h but in lib/source_mapserver.c line 250 does assignment to a member called "render_map" on mapcache_source.
Note that its missing underscore "_" prefix on "render_map" and fails to compile.
The text was updated successfully, but these errors were encountered: