Re: [mapserver-users] WCS server not
On Tue, 2012-02-21 at 13:11 +0100, Jorge Lopez wrote: > Hello; > > I am newbie to Mapserver, so maybe this is a naive question but I am > doing my best to find a solution to serve raster data by using > Mapserver. > > I have MapServer 5.6.5, I have prepared my map server with WFS and WMS > and I would like to serve GEOTIFF images with WCS 1.0.0 protocol. > > I prepared a map file, with two layers to be served and I made a > capabilities of the server: > > http://domainserver/cgi-bin/mapserv?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities > > The problem is that all metadata is full but there is no content for > coverages ("identifiers" in v.1.1.0), that is, the content between > ContentMetada labels is empty, > > > > > So I don't know what is happen, I made a probe like using shp2img to > generate a image png from mapfile and it is done > > My Mapfile (only one layer) looks like in the following way: > > > MAP > > NAME " Map Server" > SIZE 100 100 # NECESARIO PARA LA UTILIDAD shp2img > UNITS DD > EXTENT -90 -90 90 90 > DEBUG 5 > CONFIG "CPL_DEBUG" "ON" > CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" #a este fichero van > mensajes de error!! (equivalent to set SetEnv MS_ERRORFILE > "/tmp/mapserver.log" in /etc/apache2/apache2.conf) > PROJECTION >"init=epsg:4326" >END # end projection > # Background color for the map canvas -- change as desired > IMAGECOLOR 192 192 192 > IMAGEQUALITY 95 > IMAGETYPE jpeg > > # Usamos el driver GDAL para crear el formato Ráster en modo IMAGEN > RGB > OUTPUTFORMAT >NAME GEOTIFF_RGB >DRIVER "GDAL/GTiff" >MIMETYPE "image/tiff" >IMAGEMODE RGB >EXTENSION 'tif' > END #end outputformat > > # Legend > LEGEND > IMAGECOLOR 255 255 255 > STATUS ON > KEYSIZE 18 12 >LABEL > TYPE BITMAP > SIZE MEDIUM > COLOR 0 0 89 > END #end label > END #end legend > > > # Web interface definition. Only the template parameter is required > to display a map. See MapServer documentation > WEB > > # Set IMAGEPATH to the path where MapServer should write its > output. > IMAGEPATH '/tmp/' > # Set IMAGEURL to the url that points to IMAGEPATH as defined in > your web server configuration > IMAGEURL '/tmp/' > > # WCS server settings > METADATA > 'wms_title'' Map Server' > 'wms_enable_request' '*' > 'ows_onlineresource' 'http://domainserver/cgi-bin/mapserv?' > #'ows_srs' 'CRS:84 EPSG:4326 > urn:x-ogc:def:crs:EPSG:4326 urn:x-ogc:def:crs:EPSG:3035 EPSG:3035 > EPSG:4258' > 'ows title''Intamap WCS' > 'ows_srs' 'CRS:84 EPSG:4326 > urn:x-ogc:def:crs:EPSG:4326' > 'ows_abstract' 'Comentarios Blah Blah Blah' > #'ows_srs' 'EPSG:3035 urn:x-ogc:def:crs:EPSG:3035' > 'wfs_title'' WFS Server' > 'wfs_onlineresource' 'http://domainserver/cgi-bin/wfs?' > 'wfs_srs' 'EPSG:4326' ## Recommended > 'wfs_abstract' 'Web Feature Service for the central > geonode.' ## Recommended > 'wfs_enable_request' '*' > 'wms_abstract' 'Web Map Service for the central > geonode' > ## WCS > 'wcs_label' ' WCS Server' ### required for WCS > 'wcs_title' 'XXX Web Coverage Service Server' > 'wcs_description''Web Coverage Service for the > central geonode to serve coverages' > 'wcs_onlineresource' 'http://domainserver/cgi-bin/wcs?' > 'wcs_service_onlineresource' 'http://domainserver/cgi-bin/wcs?' > 'wcs_fees' 'none' > 'wcs_srs''EPSG:4326' ## Recommended > # 'wcs_abstract' 'Web Coverage Service for the XX > central geonode.' ## Recommended > 'wcs_accessconstraints' 'none' > 'wcs_keywordlist''WCS, TEXT, Coverage' > 'wcs_metadatalink_format' "text/plain" #tipo MIME para formato > de ficheros > 'wcs_metadatalink_href'"http://domainserver/catalog"; # URL > al metadata > 'wcs_metadatalink_type'"TC211" # standard que cumple el > metadata > "wcs_address" "124 Gilmour Street" > "wcs_city" "Ottawa" > "wcs_stateorprovince" "ON" > "wcs_postcode" "90210" > "wcs_country" "Canada" > "wcs_contactelectronicmailaddress" "blah@blah" > "wcs_contactperson""me" > "wcs_contactorganization" "unemployed" > "wcs_contactposition" "manager" > "wcs_contactvoicetelephone""613-555-1234" > "wcs_contactfacimiletelephone" "613-555-1235" > # "wcs_service_onlineresource" > "http://domainserver/cgi-bin/wcs?"; > 'wcs_enable_request' '*' > END #end metadata > > #Scale range at which web interface will operate > # Template and heade
Re: [mapserver-users] WCS server not
On Tue, 2012-02-21 at 13:11 +0100, Jorge Lopez wrote: > Hello; > > I am newbie to Mapserver, so maybe this is a naive question but I am > doing my best to find a solution to serve raster data by using > Mapserver. > > I have MapServer 5.6.5, I have prepared my map server with WFS and WMS > and I would like to serve GEOTIFF images with WCS 1.0.0 protocol. > > I prepared a map file, with two layers to be served and I made a > capabilities of the server: > > http://domainserver/cgi-bin/mapserv?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities > > The problem is that all metadata is full but there is no content for > coverages ("identifiers" in v.1.1.0), that is, the content between > ContentMetada labels is empty, > > > > > So I don't know what is happen, I made a probe like using shp2img to > generate a image png from mapfile and it is done > > My Mapfile (only one layer) looks like in the following way: > > > MAP > > NAME " Map Server" > SIZE 100 100 # NECESARIO PARA LA UTILIDAD shp2img > UNITS DD > EXTENT -90 -90 90 90 > DEBUG 5 > CONFIG "CPL_DEBUG" "ON" > CONFIG "MS_ERRORFILE" "/tmp/mapserver.log" #a este fichero van > mensajes de error!! (equivalent to set SetEnv MS_ERRORFILE > "/tmp/mapserver.log" in /etc/apache2/apache2.conf) > PROJECTION >"init=epsg:4326" >END # end projection > # Background color for the map canvas -- change as desired > IMAGECOLOR 192 192 192 > IMAGEQUALITY 95 > IMAGETYPE jpeg > > # Usamos el driver GDAL para crear el formato Ráster en modo IMAGEN > RGB > OUTPUTFORMAT >NAME GEOTIFF_RGB >DRIVER "GDAL/GTiff" >MIMETYPE "image/tiff" >IMAGEMODE RGB >EXTENSION 'tif' > END #end outputformat > > # Legend > LEGEND > IMAGECOLOR 255 255 255 > STATUS ON > KEYSIZE 18 12 >LABEL > TYPE BITMAP > SIZE MEDIUM > COLOR 0 0 89 > END #end label > END #end legend > > > # Web interface definition. Only the template parameter is required > to display a map. See MapServer documentation > WEB > > # Set IMAGEPATH to the path where MapServer should write its > output. > IMAGEPATH '/tmp/' > # Set IMAGEURL to the url that points to IMAGEPATH as defined in > your web server configuration > IMAGEURL '/tmp/' > > # WCS server settings > METADATA > 'wms_title'' Map Server' > 'wms_enable_request' '*' > 'ows_onlineresource' 'http://domainserver/cgi-bin/mapserv?' > #'ows_srs' 'CRS:84 EPSG:4326 > urn:x-ogc:def:crs:EPSG:4326 urn:x-ogc:def:crs:EPSG:3035 EPSG:3035 > EPSG:4258' > 'ows title''Intamap WCS' > 'ows_srs' 'CRS:84 EPSG:4326 > urn:x-ogc:def:crs:EPSG:4326' > 'ows_abstract' 'Comentarios Blah Blah Blah' > #'ows_srs' 'EPSG:3035 urn:x-ogc:def:crs:EPSG:3035' > 'wfs_title'' WFS Server' > 'wfs_onlineresource' 'http://domainserver/cgi-bin/wfs?' > 'wfs_srs' 'EPSG:4326' ## Recommended > 'wfs_abstract' 'Web Feature Service for the central > geonode.' ## Recommended > 'wfs_enable_request' '*' > 'wms_abstract' 'Web Map Service for the central > geonode' > ## WCS > 'wcs_label' ' WCS Server' ### required for WCS > 'wcs_title' 'XXX Web Coverage Service Server' > 'wcs_description''Web Coverage Service for the > central geonode to serve coverages' > 'wcs_onlineresource' 'http://domainserver/cgi-bin/wcs?' > 'wcs_service_onlineresource' 'http://domainserver/cgi-bin/wcs?' > 'wcs_fees' 'none' > 'wcs_srs''EPSG:4326' ## Recommended > # 'wcs_abstract' 'Web Coverage Service for the XX > central geonode.' ## Recommended > 'wcs_accessconstraints' 'none' > 'wcs_keywordlist''WCS, TEXT, Coverage' > 'wcs_metadatalink_format' "text/plain" #tipo MIME para formato > de ficheros > 'wcs_metadatalink_href'"http://domainserver/catalog"; # URL > al metadata > 'wcs_metadatalink_type'"TC211" # standard que cumple el > metadata > "wcs_address" "124 Gilmour Street" > "wcs_city" "Ottawa" > "wcs_stateorprovince" "ON" > "wcs_postcode" "90210" > "wcs_country" "Canada" > "wcs_contactelectronicmailaddress" "blah@blah" > "wcs_contactperson""me" > "wcs_contactorganization" "unemployed" > "wcs_contactposition" "manager" > "wcs_contactvoicetelephone""613-555-1234" > "wcs_contactfacimiletelephone" "613-555-1235" > # "wcs_service_onlineresource" > "http://domainserver/cgi-bin/wcs?"; > 'wcs_enable_request' '*' > END #end metadata > > #Scale range at which web interface will operate > # Template and heade
Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?
I am also in need of this feature, in my case it's an Administrator panel that will control MapCache options. As a suggestion maybe create an option in MapCache configuration file (by default false) that on request to an apache process will check if the last modified date of the configuration file was changed and if yes then reload the configuration and after that continue processing. On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort wrote: > AFAIK, this isn't possible. Inside an apache module, the configuration > is considered read-only as it is shared between multiple worker > threads/processed spawned by httpd. > > apachectl configtest && apachectl graceful will restart the server > gracefully, i.e. without aborting ongoing requests, and will load the > new configuration for subsequent requests. > > -- > thomas > > On Mon, Dec 5, 2011 at 23:37, John Taranu > wrote: > > Thomas, > > > > > > > > Is there a better way force MapCache to reload its configuration script > than > > restarting apache? I’m working on an application that will use two > > load-balanced web servers running MapCache, all pointing to a single > central > > tile repository and a single central .xml configuration file. The > > configuration file will occasionally be edited, either with deletions or > > additional tilesets. Both web servers need to reload the updated > > configuration .xml. > > > > > > > > Is it possible to set up MapCache to check if the config file was > recently > > updated and, if so, reload the config .xml? It looks like this is > currently > > enabled under FastCGI, but not under Apache. > > > > > > > > John > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: WCS server not
Hello Stephan, As you said, I have seen that for Mapserver version it is advisbale to write DUMP TRUE in (layer-level) map file but there is no capabilities in the web browser. 505 Internal Server Error and the following message: """ The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, etclusi.gis.supp...@uab.es and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. """ I did all related with debug issues and I am obtaining errors to log file saying "[Wed Feb 22 09:44:53 2012] [error] [client 158.109.144.146] Premature end of script headers: mapserv" According to this, I checked not to be in conflict with INPUT=GDAL and INPUT=TIFF MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE I am trying to serve two TIFF Images, one with 1 band and a colour palette (Land Cover) and another one, Murble Nasa image and 3 bands RGB. So at this point I dont know if there is a conflict with GDAL library (I dont think so because shp2img -m file.map -o test.png -all_debug 5 reports in a correct direction) or one parameters wcs_* related is missing in METADATA section. Could you give any above-mentioned not explored tips or directly go to MSv6? Thanks you in advance Jorge -- View this message in context: http://osgeo-org.1560.n6.nabble.com/WCS-server-not-tp4491169p4494377.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?
apache2ctl -k graceful is not really an option for me because I would have to give root privileges to my apache/php. "AFAIK, this isn't possible." I don't know anything about apache modules and stuff so the next thing I say may not be applicable or just plain stupid, but maybe each process will hold their own copy of configuration so the apache process will be able to alter it's configuration upon detection of file change. There is certainly that added overhead of "checking last modified date" and keeping more copies in memory, but this should not be the default behavior. On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort wrote: > AFAIK, this isn't possible. Inside an apache module, the configuration > is considered read-only as it is shared between multiple worker > threads/processed spawned by httpd. > > apachectl configtest && apachectl graceful will restart the server > gracefully, i.e. without aborting ongoing requests, and will load the > new configuration for subsequent requests. > > -- > thomas > > On Mon, Dec 5, 2011 at 23:37, John Taranu > wrote: > > Thomas, > > > > > > > > Is there a better way force MapCache to reload its configuration script > than > > restarting apache? I’m working on an application that will use two > > load-balanced web servers running MapCache, all pointing to a single > central > > tile repository and a single central .xml configuration file. The > > configuration file will occasionally be edited, either with deletions or > > additional tilesets. Both web servers need to reload the updated > > configuration .xml. > > > > > > > > Is it possible to set up MapCache to check if the config file was > recently > > updated and, if so, reload the config .xml? It looks like this is > currently > > enabled under FastCGI, but not under Apache. > > > > > > > > John > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: WCS server not
On Wed, 2012-02-22 at 01:57 -0800, jorgelopez wrote: > Hello Stephan, > > As you said, I have seen that for Mapserver version it is advisbale to write > DUMP TRUE in (layer-level) map file but there is no capabilities in the web > browser. 505 Internal Server Error and the following message: > > """ > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, etclusi.gis.supp...@uab.es and > inform them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error log. > > """ > > I did all related with debug issues and I am obtaining errors to log file > saying > > "[Wed Feb 22 09:44:53 2012] [error] [client 158.109.144.146] Premature end > of script headers: mapserv" > > > > According to this, I checked not to be in conflict with INPUT=GDAL and > INPUT=TIFF > > MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE > SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT > SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER > SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS > SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL > INPUT=SHAPEFILE > > > I am trying to serve two TIFF Images, one with 1 band and a colour palette > (Land Cover) and another one, Murble Nasa image and 3 bands RGB. So at this > point I dont know if there is a conflict with GDAL library (I dont think so > because shp2img -m file.map -o test.png -all_debug 5 reports in a correct > direction) or one parameters wcs_* related is missing in METADATA section. > > Could you give any above-mentioned not explored tips or directly go to MSv6? > > Thanks you in advance > > Jorge Could you please post the debug messages when you set "DEBUG 5" both on mapfile and layer level? Thanks, Stephan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?
On Wed, Feb 22, 2012 at 11:22, Pavel Iacovlev wrote: > apache2ctl -k graceful is not really an option for me because I would have > to give root privileges to my apache/php. you can create a sudo rule that only allows a user to run apache2ctl -k graceful without giving full root access. > > "AFAIK, this isn't possible." I don't know anything about apache modules and > stuff so the next thing I say may not be applicable or just plain stupid, > but maybe each process will hold their own copy of configuration so the > apache process will be able to alter it's configuration upon detection of > file change. There is certainly that added overhead of "checking last > modified date" and keeping more copies in memory, but this should not be the > default behavior. afaik, at the request level (which is were the freshness test would occur), there's no way of freeing the memory that allocated the initial configuration, and no way of allocating memory for the new configuration that would live across the upcoming requests. > > On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort > wrote: >> >> AFAIK, this isn't possible. Inside an apache module, the configuration >> is considered read-only as it is shared between multiple worker >> threads/processed spawned by httpd. >> >> apachectl configtest && apachectl graceful will restart the server >> gracefully, i.e. without aborting ongoing requests, and will load the >> new configuration for subsequent requests. >> >> -- >> thomas >> >> On Mon, Dec 5, 2011 at 23:37, John Taranu >> wrote: >> > Thomas, >> > >> > >> > >> > Is there a better way force MapCache to reload its configuration script >> > than >> > restarting apache? I’m working on an application that will use two >> > load-balanced web servers running MapCache, all pointing to a single >> > central >> > tile repository and a single central .xml configuration file. The >> > configuration file will occasionally be edited, either with deletions or >> > additional tilesets. Both web servers need to reload the updated >> > configuration .xml. >> > >> > >> > >> > Is it possible to set up MapCache to check if the config file was >> > recently >> > updated and, if so, reload the config .xml? It looks like this is >> > currently >> > enabled under FastCGI, but not under Apache. >> > >> > >> > >> > John >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?
Thank you for the sudo rule suggestion and for detailed explanation! Just one more question, if I use MapCache as fcgi, does this mean that on every request the configuration will be read and parsed ? or the configuration will be kept in memory until a the fastcgi process killed and respawned ? On Wed, Feb 22, 2012 at 12:37 PM, thomas bonfort wrote: > On Wed, Feb 22, 2012 at 11:22, Pavel Iacovlev > wrote: > > apache2ctl -k graceful is not really an option for me because I would > have > > to give root privileges to my apache/php. > you can create a sudo rule that only allows a user to run apache2ctl > -k graceful without giving full root access. > > > > > "AFAIK, this isn't possible." I don't know anything about apache modules > and > > stuff so the next thing I say may not be applicable or just plain stupid, > > but maybe each process will hold their own copy of configuration so the > > apache process will be able to alter it's configuration upon detection of > > file change. There is certainly that added overhead of "checking last > > modified date" and keeping more copies in memory, but this should not be > the > > default behavior. > > afaik, at the request level (which is were the freshness test would > occur), there's no way of freeing the memory that allocated the > initial configuration, and no way of allocating memory for the new > configuration that would live across the upcoming requests. > > > > > On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort > > wrote: > >> > >> AFAIK, this isn't possible. Inside an apache module, the configuration > >> is considered read-only as it is shared between multiple worker > >> threads/processed spawned by httpd. > >> > >> apachectl configtest && apachectl graceful will restart the server > >> gracefully, i.e. without aborting ongoing requests, and will load the > >> new configuration for subsequent requests. > >> > >> -- > >> thomas > >> > >> On Mon, Dec 5, 2011 at 23:37, John Taranu > >> wrote: > >> > Thomas, > >> > > >> > > >> > > >> > Is there a better way force MapCache to reload its configuration > script > >> > than > >> > restarting apache? I’m working on an application that will use two > >> > load-balanced web servers running MapCache, all pointing to a single > >> > central > >> > tile repository and a single central .xml configuration file. The > >> > configuration file will occasionally be edited, either with deletions > or > >> > additional tilesets. Both web servers need to reload the updated > >> > configuration .xml. > >> > > >> > > >> > > >> > Is it possible to set up MapCache to check if the config file was > >> > recently > >> > updated and, if so, reload the config .xml? It looks like this is > >> > currently > >> > enabled under FastCGI, but not under Apache. > >> > > >> > > >> > > >> > John > >> ___ > >> mapserver-users mailing list > >> mapserver-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?
kept in memory accross the lifetime of the process. the conf file is accessed at each request to check it's modification time though if you have enabled auto reloading. -- tb On Wed, Feb 22, 2012 at 12:00, Pavel Iacovlev wrote: > Thank you for the sudo rule suggestion and for detailed explanation! > > Just one more question, if I use MapCache as fcgi, does this mean that on > every request the configuration will be read and parsed ? or the > configuration will be kept in memory until a the fastcgi process killed > and respawned ? > > > On Wed, Feb 22, 2012 at 12:37 PM, thomas bonfort > wrote: >> >> On Wed, Feb 22, 2012 at 11:22, Pavel Iacovlev >> wrote: >> > apache2ctl -k graceful is not really an option for me because I would >> > have >> > to give root privileges to my apache/php. >> you can create a sudo rule that only allows a user to run apache2ctl >> -k graceful without giving full root access. >> >> > >> > "AFAIK, this isn't possible." I don't know anything about apache modules >> > and >> > stuff so the next thing I say may not be applicable or just plain >> > stupid, >> > but maybe each process will hold their own copy of configuration so the >> > apache process will be able to alter it's configuration upon detection >> > of >> > file change. There is certainly that added overhead of "checking last >> > modified date" and keeping more copies in memory, but this should not be >> > the >> > default behavior. >> >> afaik, at the request level (which is were the freshness test would >> occur), there's no way of freeing the memory that allocated the >> initial configuration, and no way of allocating memory for the new >> configuration that would live across the upcoming requests. >> >> > >> > On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort >> > wrote: >> >> >> >> AFAIK, this isn't possible. Inside an apache module, the configuration >> >> is considered read-only as it is shared between multiple worker >> >> threads/processed spawned by httpd. >> >> >> >> apachectl configtest && apachectl graceful will restart the server >> >> gracefully, i.e. without aborting ongoing requests, and will load the >> >> new configuration for subsequent requests. >> >> >> >> -- >> >> thomas >> >> >> >> On Mon, Dec 5, 2011 at 23:37, John Taranu >> >> wrote: >> >> > Thomas, >> >> > >> >> > >> >> > >> >> > Is there a better way force MapCache to reload its configuration >> >> > script >> >> > than >> >> > restarting apache? I’m working on an application that will use two >> >> > load-balanced web servers running MapCache, all pointing to a single >> >> > central >> >> > tile repository and a single central .xml configuration file. The >> >> > configuration file will occasionally be edited, either with deletions >> >> > or >> >> > additional tilesets. Both web servers need to reload the updated >> >> > configuration .xml. >> >> > >> >> > >> >> > >> >> > Is it possible to set up MapCache to check if the config file was >> >> > recently >> >> > updated and, if so, reload the config .xml? It looks like this is >> >> > currently >> >> > enabled under FastCGI, but not under Apache. >> >> > >> >> > >> >> > >> >> > John >> >> ___ >> >> mapserver-users mailing list >> >> mapserver-users@lists.osgeo.org >> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > >> > > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: WCS server not
Hello Stephan: I am not sure what is happened butt .. fortunately, magic word DUMP TRUE has resolved the issue. I don't know exactly the reason but jointly with a (maybe important) wc_title metadata has solved the problem. One final question, but in debug mode, attending to error.log in apache web server, I have this kind of "error?", . [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GTiff: Opened 4320x2160 overview. [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GTiff: Opened 2880x1440 overview. [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GDAL: GDALOpen(/home/data/datasets/public/nasa/bluemarble/bluemarble_jpeg_small.tiff, this=0xb98ad0) succeeds as GTiff. [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GDAL: GDALClose(, this=0xb97be0) [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GDAL: GDALClose(, this=0xb9c420) [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GDAL: GDALClose(/home/data/datasets/public/nasa/bluemarble/bluemarble_jpeg_small.tiff, this=0xb98ad0) [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GTiff: Opened 4320x2160 overview. [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GTiff: Opened 2880x1440 overview. [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] [Wed Feb 22 12:56:02 2012] [error] [client 158.109.144.146] GDAL: GDALOpen(/home/data/datasets/public/nasa/bluemarble/bluemarble_jpeg_small.tiff, this=0xb97fa0) succeeds as GTiff. [Wed Feb 22 12:56:03 2012] [error] [client 158.109.144.146] GDAL: GDALDriver::Create(MEM,msSaveImageGDAL_temp,8640,4320,3,Byte,(nil)) [Wed Feb 22 12:56:03 2012] [error] [client 158.109.144.146] GDAL: GDALOpen(GTIFF_RAW:/vsimem/msout/4f44d7d3_b73_0.tif, this=0x9a49060) succeeds as GTiff. [Wed Feb 22 12:56:03 2012] [error] [client 158.109.144.146] GDAL: GDALDatasetCopyWholeRaster(): 8640*385 swaths, bInterleave=1 [Wed Feb 22 12:56:04 2012] [error] [client 158.109.144.146] GDAL: GDALClose(msSaveImageGDAL_temp, this=0xb658430) [Wed Feb 22 12:56:04 2012] [error] [client 158.109.144.146] GDAL: GDALClose(/vsimem/msout/4f44d7d3_b73_0.tif, this=0x9a49060) but I can make getCapabilities, DescribeCoverage and getCoverage for WCS 1.0.0 protocol. Do you know what does it mean? Could I obtain errors but doing (aparently) correct requests to mapserver? Thanks Stephen Jorge -- View this message in context: http://osgeo-org.1560.n6.nabble.com/WCS-server-not-tp4491169p4494818.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Scale dependant image tile
Hi I have a similar problem. I have different s57 maps with different scales for different locations I convert them to .shp and create for all scales of the layers tileindexes and adjust the min/maxscaledenom of the mapfile. The GROUP name is the s57 layername (eg DEPARE) and the layers are called like this: DEPARE_A_2500 But now I get only white pictures. I think the problem is, that the tileindex link to an other shapefile and not to the shapefile for this location because of the scale. until all layer were draw on top of each other like here: http://osgeo-org.1560.n6.nabble.com/file/n4494860/Unbenannt.png I hope you can help me Thanks ElPer -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Scale-dependant-image-tile-tp4235062p4494860.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] cannot show "all" labels
hello I cannot show "all" labels. ıt displays some of them. what do I have to do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users