[mapserver-users] NAME limit of 20 characters
Hi list, I am bit confused about the 20 character limit for LAYER-NAME that the MAP file documentation suggests. NAME [string] Short name for this layer. Limit is 20 characters. This name is the link between the mapfile and web interfaces that refer to this name. They must be identical. The name should be unique, unless one layer replaces another at different scales. Use the GROUP option to associate layers with each other. Is this limit really true? If I read Steve Lime's reply here this should not be the case: http://osgeo-org.1803224.n2.nabble.com/Character-Limit-for-NAME-and-GROUP-td5922135.html TIA for any clarification. Best regards, Bart ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: AW: [mapserver-users] Re: symbol position moving when using angle
Hi Andreas, I am not drawing labels in this particular case, I am drawing points with a ttf symbol. CLASS STYLE ANGLE [GRADENHOEK] SYMBOL foo SIZE 50 COLOR 255 0 0 END END SYMBOL NAME foo TYPE TRUETYPE FONT arial CHARACTER #33; ANTIALIAS TRUE END Best regards, Bart Hi Bart, may be this is what you are looking for: From the map file documentation: LABEL ... POSITION [ul|uc|ur|cl|cc|cr|ll|lc|lr|auto] Position of the label relative to the labeling point (layers only). First letter is Y position, second letter is X position. Auto tells MapServer to calculate a label position that will not interfere with other labels. With points, MapServer selects from the 8 outer positions (i.e. excluding cc). With polygons, MapServer selects from cc (added in MapServer 5.4), uc, lc, cl and cr as possible positions. With lines, it only uses lc or uc, until it finds a position that doesn't collide with labels that have already been drawn. If all positions cause a conflict, then the label is not drawn (Unless the label's FORCE a parameter is set to true). Auto placement is only available with cached labels. Regards, Andreas -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Bart van den Eijnden (OSGIS) Gesendet: Dienstag, 21. Juni 2011 15:55 An: Robert Hollingsworth Cc: mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] Re: symbol position moving when using angle Hi Robert, thanks for your answer, indeed that must be the explanation. However, the ESRI software (ArcMap in this case) is doing what we expect with the same true type font. Best regards, Bart looks to me like the 'base point' around which the symbol is defined in terms of x-y position, and therefore around which the thing will rotate -- is to the lower-left of the visible exclamation mark: # # # # x rotates around this while you really want something like: # # # rotates around this point # I'm guessing this is the normal case for most ttf's? Can you find or create a ttf char that is defined like the second case? Otherwise probably need to use a bitmap or just block out what you need with mapserver vector symbology Robert == original msg == Hi list, hopefully someone can explain the following issue to me. I am using a vector symbol (ttf), and when using no angle, it is positioned correctly. However, when I use ANGLE on the STYLE (using an attribute in the dataset), things get weird and the symbol position changes. Image brous4.png (no rotation in Mapserver, red exclamation marks are Mapserver, black exclamation marks are ArcMap, blue dot is the same Mapserver layer using a circle symbol to display the location): http://www.osgis.nl/download/mapserver/brous4.png Image brous3.png, now we rotate the symbols in Mapserver, but their location is moving (a simple OFFSET does not seem to be a possible solution however): http://www.osgis.nl/download/mapserver/brous3.png TIA for any guidance. Best regards, Bart ___ 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 mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: strange raster problem
We finally identified this issue, it seems that the SCALE_1 processing directive does not work in case of 1 band images? Using SCALE instead of SCALE_1 did the trick. Is this a known issue/limitation? Best regards, Bart Hi list, we have a strange problem with an ArcSDE raster layer. At certain zoom levels the pixels are very coarse. Zooming out one level the pixels are okay, however the colour is not. You can see this in the following images, the first one is zoomed out and everything is okay (except the colours since the image should be mostly black): http://www.osgis.nl/download/mapserver/rws1.png However when zooming in one level, we obtain the following situation: http://www.osgis.nl/download/mapserver/rws2.png Does anyone have an explanation for this? Using Mapserver trunk from about 3 months back and GDAL 1.7.2. This is the info from ArcCatalog about the raster layer: TreeListData_SourceRasterBODEM.DNZ_GRINDPERCENTAGE_TOT_15CM/RasterData_TypeSDE Raster/Data_TypeServergeodatabase.ad.rws.nlUserRWS_LEZEN/UserInstance5151\tcp/InstanceDatabase/DatabaseVersionSDE.DEFAULT/Version/Server/Data_SourceRaster_InformationColumns_and_Rows1161, 2021/Columns_and_RowsNumber_of_Bands1/Number_of_BandsCellsize__X._Y_250.11, 250/Cellsize__X._Y_Uncompressed_Size8.95 MB/Uncompressed_SizeFormatSDR/FormatSource_Typecontinuous/Source_TypePixel_Typefloating point/Pixel_TypePixel_Depth32 Bit/Pixel_DepthNoData_Value-3.402823E+38/NoData_ValueColormapabsent/ColormapPyramidslevel: 4, resampling: Nearest Neighbor/PyramidsCompressionLZ77/Compression/Raster_InformationExtentTop6199911.5560208503/TopLeft459782.82782689098/LeftRight750032.82782689109/RightBottom5694661.5560208503/Bottom/ExtentSpatial_ReferenceETRS_1989_UTM_Zone_31NLinear_UnitMeter (1.00)/Linear_UnitAngular_UnitDegree (0.017453292519943299)/Angular_UnitFalse_Easting50/False_EastingFalse_Northing0/False_NorthingCentral_Meridian3/Central_MeridianScale_Factor0.9996/Scale_FactorLatitude_Of_Origin0/Latitude_Of_OriginDatumD_ETRS_1989/Datum/Spatial_ReferenceStatisticsBand_1Build_Parametersskipped columns:1, rows:1, ignored value: /Build_ParametersMin0.5/MinMax59.80879974365234/MaxMean0.831969292920005/MeanStd_dev.2.825845448840229/Std_dev.Classes0/Classes/Band_1/Statistics/TreeList The LAYER definition is: LAYER CONNECTIONTYPE SDE DATA SDE:x.ad.rws.nl,port:5151,5151,RWS_LEZEN,XX,BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM,RASTER DUMP TRUE EXTENT 459782.827826891 5694661.55602085 750032.827826891 6199911.55602085 NAME BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925 PROCESSING 'CLOSE_CONNECTION=DEFER' PROCESSING 'DITHER=NO' PROCESSING 'NODATA=NODATA' PROCESSING 'SCALE_1=0.5,59.8087997436523' PROCESSING 'BANDS=1' PROCESSING 'LOAD_FULL_RES_IMAGE=NO' PROCESSING 'LOAD_WHOLE_IMAGE=NO' SIZEUNITS PIXELS UNITS METERS STATUS ON TEMPLATE 'blank.html' TOLERANCE 5 TOLERANCEUNITS PIXELS TYPE RASTER PROJECTION 'init=epsg:25831' END METADATA 'wms_title' 'Grindpercentage, stretched' 'wms_layer_group' '/Grindpercentage_ NCP' 'wms_metadataurl_format' 'text/xml' 'wms_metadataurl_href' 'http://test.intranet.rijkswaterstaat.nl/services/geoservices-update/metadata/BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM' 'wms_metadataurl_type' 'TC211' 'wcs_abstract' 'noordzee grind en zand raster' 'wcs_bandcount' '1' # 'wcs_description' 'noordzee grind en zand raster' # Optional 'wcs_extent' '459782.827826891,5694661.55602085,750032.827826891,6199911.55602085' 'wcs_formats' 'GTiff,MrSID,ECW' 'wcs_keywords' 'RWS,Rijkswaterstaat,noordzee grind en zand raster,BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' 'wcs_label' 'Grindpercentage, stretched' # Required 'wcs_metadatalink_format' 'text/xml' 'wcs_metadatalink_href' 'http://test.intranet.rijkswaterstaat.nl/services/geoservices-update/metadata/BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM' 'wcs_metadatalink_type' 'TC211' 'wcs_name' 'BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' # 'wcs_nativeformat' 'Raster' # Optional 'wcs_rangeset_label' 'Grindpercentage, stretched' 'wcs_rangeset_name' 'BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' END PROCESSING 'SCALE_BUCKETS=256' CLASS STYLE COLORRANGE 0 0 0 255 255 255 DATARANGE -4.81972160476045 6.48366019060046 RANGEITEM pixel END END END TIA. Best regards, Bart ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] strange raster problem
Hi list, we have a strange problem with an ArcSDE raster layer. At certain zoom levels the pixels are very coarse. Zooming out one level the pixels are okay, however the colour is not. You can see this in the following images, the first one is zoomed out and everything is okay (except the colours since the image should be mostly black): http://www.osgis.nl/download/mapserver/rws1.png However when zooming in one level, we obtain the following situation: http://www.osgis.nl/download/mapserver/rws2.png Does anyone have an explanation for this? Using Mapserver trunk from about 3 months back and GDAL 1.7.2. This is the info from ArcCatalog about the raster layer: TreeListData_SourceRasterBODEM.DNZ_GRINDPERCENTAGE_TOT_15CM/RasterData_TypeSDE Raster/Data_TypeServergeodatabase.ad.rws.nlUserRWS_LEZEN/UserInstance5151\tcp/InstanceDatabase/DatabaseVersionSDE.DEFAULT/Version/Server/Data_SourceRaster_InformationColumns_and_Rows1161, 2021/Columns_and_RowsNumber_of_Bands1/Number_of_BandsCellsize__X._Y_250.11, 250/Cellsize__X._Y_Uncompressed_Size8.95 MB/Uncompressed_SizeFormatSDR/FormatSource_Typecontinuous/Source_TypePixel_Typefloating point/Pixel_TypePixel_Depth32 Bit/Pixel_DepthNoData_Value-3.402823E+38/NoData_ValueColormapabsent/ColormapPyramidslevel: 4, resampling: Nearest Neighbor/PyramidsCompressionLZ77/Compression/Raster_InformationExtentTop6199911.5560208503/TopLeft459782.82782689098/LeftRight750032.82782689109/RightBottom5694661.5560208503/Bottom/ExtentSpatial_ReferenceETRS_1989_UTM_Zone_31NLinear_UnitMeter (1.00)/Linear_UnitAngular_UnitDegree (0.017453292519943299)/Angular_UnitFalse_Easting50/False_EastingFalse_Northing0/False_NorthingCentral_Meridian3/Central_MeridianScale_Factor0.9996/Scale_FactorLatitude_Of_Origin0/Latitude_Of_OriginDatumD_ETRS_1989/Datum/Spatial_ReferenceStatisticsBand_1Build_Parametersskipped columns:1, rows:1, ignored value: /Build_ParametersMin0.5/MinMax59.80879974365234/MaxMean0.831969292920005/MeanStd_dev.2.825845448840229/Std_dev.Classes0/Classes/Band_1/Statistics/TreeList The LAYER definition is: LAYER CONNECTIONTYPE SDE DATA SDE:x.ad.rws.nl,port:5151,5151,RWS_LEZEN,XX,BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM,RASTER DUMP TRUE EXTENT 459782.827826891 5694661.55602085 750032.827826891 6199911.55602085 NAME BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925 PROCESSING 'CLOSE_CONNECTION=DEFER' PROCESSING 'DITHER=NO' PROCESSING 'NODATA=NODATA' PROCESSING 'SCALE_1=0.5,59.8087997436523' PROCESSING 'BANDS=1' PROCESSING 'LOAD_FULL_RES_IMAGE=NO' PROCESSING 'LOAD_WHOLE_IMAGE=NO' SIZEUNITS PIXELS UNITS METERS STATUS ON TEMPLATE 'blank.html' TOLERANCE 5 TOLERANCEUNITS PIXELS TYPE RASTER PROJECTION 'init=epsg:25831' END METADATA 'wms_title' 'Grindpercentage, stretched' 'wms_layer_group' '/Grindpercentage_ NCP' 'wms_metadataurl_format' 'text/xml' 'wms_metadataurl_href' 'http://test.intranet.rijkswaterstaat.nl/services/geoservices-update/metadata/BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM' 'wms_metadataurl_type' 'TC211' 'wcs_abstract' 'noordzee grind en zand raster' 'wcs_bandcount' '1' # 'wcs_description' 'noordzee grind en zand raster' # Optional 'wcs_extent' '459782.827826891,5694661.55602085,750032.827826891,6199911.55602085' 'wcs_formats' 'GTiff,MrSID,ECW' 'wcs_keywords' 'RWS,Rijkswaterstaat,noordzee grind en zand raster,BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' 'wcs_label' 'Grindpercentage, stretched' # Required 'wcs_metadatalink_format' 'text/xml' 'wcs_metadatalink_href' 'http://test.intranet.rijkswaterstaat.nl/services/geoservices-update/metadata/BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM' 'wcs_metadatalink_type' 'TC211' 'wcs_name' 'BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' # 'wcs_nativeformat' 'Raster' # Optional 'wcs_rangeset_label' 'Grindpercentage, stretched' 'wcs_rangeset_name' 'BODEM.DNZ_GRINDPERCENTAGE_TOT_15CM_5925' END PROCESSING 'SCALE_BUCKETS=256' CLASS STYLE COLORRANGE 0 0 0 255 255 255 DATARANGE -4.81972160476045 6.48366019060046 RANGEITEM pixel END END END TIA. Best regards, Bart ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] crash on SYMBOL
Hi list, we have some faulty MAP files, which did not crash MS 5.2, however they do seem to crash MS trunk. It results in a segfault (e.g. in a WMS GetCapabilities request) when we use e.g. SYMBOL 604310017 Any idea what has changed in the meantime to cause this to segfault? TIA. Best regards, Bart ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] BBOX Problem
Hi, please ask this question on the openlayers-users mailing list. Best regards, Bart Hello List i have a problem with the bbox in openlayers. I use EPSG 4326 for my Layers and use the openlayers options var options = { restrictedExtent: new OpenLayers.Bounds(-180, -60, 180, 90), numZoomLevels: 5, minResolution: auto, minExtent: new OpenLayers.Bounds(-5, -5, 5, 5), maxResolution: auto, maxExtent: new OpenLayers.Bounds(-180, -60, 180, 90) But everytime i load the website the request got the BBOX -270,-120,270,150 http://***?LAYERS=bpb_milexTRANSPARENT=trueFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG%3A4326BBOX=-270,-120,270,150WIDTH=930HEIGHT=465 Has anybody an idea? Thank you Alex -- Internationales Konversionszentrum Bonn Bonn International Center for Conversion (BICC) GmbH Pfarrer- Byns-Stra?e 1, 53121 Bonn, GERMANY Tel. / Phone: +49-228-911 96 0, Fax: +49-228-911 96 - 22 Internet: www.bicc.de, E-mail: b...@bicc.de Firmensitz/ Office: Bonn Registergericht/ Registered at: Amtsgericht Bonn, HRB 6717 Gesch?ftsf?hrer/ Director: Peter Johannes Croll Prokurist/ Authorized Signatory: Michael Dedek Vorsitzender des Aufsichtsrates/ Chairman of the Supervisory Board: Staatssekret?r/ Deputy Minister Helmut Dockter ___ 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] WMS 1.3.0 questions
Yves, this is only true for the GetCapabilities operation. Not for operations such as GetMap. Best regards, Bart Yves, About the version parameter value: it only says which version you want to, not the one the WMS serveur **should** use. If WMS server can't serve this version, it will try the higher it can if client version server version or the lower it can if client version server version. The client version is the version value in the url, asked by the client. Regards, Y. Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit : Hello Yves, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there -jeff Hi All, I tried to look for an answer to the question what do I have to do to get MapServer to serve a 1.3.0 WMS by default and I haven't found yet. Is there anything to do in the mapfile per se or is it just by the virtue of having a version = 5.4 ? I thought the latter but then I tried things like : http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.3.0CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.1.1CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and wondered if I'm getting back the response from a 1.3.0 in the first case and a 1.1.1 in the second case. Both images were the same, so I thought everything was fine until I tried an unexisting version number (e.g. 1.1.122) and still got back an image ! The only error message that made me think MS was indeed looking at the version number is when I submitted VERSION=abc. then MS complained it wanted x.y or x.y.z. So how can I tell I get a real WMS with my specified version number instead of what appears to be a default one ? Doc pointers appreciated. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ 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] draw polygons ordered by field ? (from File System)
The only way I know of is to use the sortshp utility. http://mapserver.org/utilities/sortshp.html Best regards, Bart Hi All, Reading a shapefile (ESRI/MapInfo) from FS with polygons overlapping. Each polygon is drawn with a different color based on a field called RISK. Is it possible define an order on how the polygons are drawn ? Say for example to draw the polygons with field RISK 0 first, then with RISK =1 and so on... I know that using PG we can use Select * from XXX order by RISK Is there any way to do that using ESRI/MapInfo files ? Thanks -- Sebastian E. Ovide ___ 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] PropertyIsLike in combination with AND doesn't work (progress issue 3064)
Hi Geert, as you can read in the bug report it was fixed in trunk as part of ticket 2720, so it should be working on trunk (since 6 months already). Which platform are you on? What type of binaries are you using? Best regards, Bart hi list, As a Mapserver user I noticed that Mapserver does not accept a filter query where PropertyIsLike and AND are combined. In the issue tracker I read that this is a known issue (#3064). In the issue tracker I saw that there is a patch available, but that still some testing needs to be done on this patch. As I'm no programmer, unfortunately I can not perform the tests myself. Has anyone any knowledge if and when this patch will be available in Mapserver? Cheers, Geert ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064)
Hi Geert, true, it was not fixed in the 5.6 branch, so the only way to get this fix is to use trunk (also known as Mapserver 5.7 unstable). Gateway Geomatics provides customized Windows builds as a (paid) service, so maybe they can help you to either get a patched 5.6 binary or a current trunk binary (I would advise the last option since after 5.6 a lot of things were still fixed wrt SLD and Filter support). http://www.gatewaygeomatics.com/ Best regards, Bart Hi Bart, Thanks for the quick reply. We're working on Windows Server 2003 and are using the ms4w binaries (with Mapserver 5.6.4). When I look through the ticket I can find that it was fixed in the trunk with ticket 2720, but that it wasn't fixed in the 5.6 branch (that whole trunk and branch work is a bit hazy to me). My tests suggests that the problem is still there in my version of Mapserver. For example: This is the filter portion of the SLD: Filter Or PropertyIsLike wildcard='*' singleChar='.' escape='!' PropertyNameLOC_ZK/PropertyName Literal*WERELD*/Literal /PropertyIsLike PropertyIsLike wildcard='*' singleChar='.' escape='!' PropertyNameLOC_ZK/PropertyName Literal*DAGEN*/Literal /PropertyIsLike /Or /Filter And here's class part from the mapfile created by mapserver: CLASS NAME class1 EXPRESSION /.*DAGEN.*/ STYLE ANGLE 360 COLOR 0 0 255 SYMBOL 0 WIDTH 1 END STYLE ANGLE 360 OUTLINECOLOR 255 0 0 SYMBOL 0 WIDTH 1 END END Any help would be appreciated. Cheers, Geert -Oorspronkelijk bericht- Van: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl] Verzonden: woensdag 4 augustus 2010 11:07 Aan: Huizer, G.J. CC: mapserver-users@lists.osgeo.org Onderwerp: Re: [mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064) Hi Geert, as you can read in the bug report it was fixed in trunk as part of ticket 2720, so it should be working on trunk (since 6 months already). Which platform are you on? What type of binaries are you using? Best regards, Bart hi list, As a Mapserver user I noticed that Mapserver does not accept a filter query where PropertyIsLike and AND are combined. In the issue tracker I read that this is a known issue (#3064). In the issue tracker I saw that there is a patch available, but that still some testing needs to be done on this patch. As I'm no programmer, unfortunately I can not perform the tests myself. Has anyone any knowledge if and when this patch will be available in Mapserver? Cheers, Geert ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Filtering GetFeatureInfo requests
Not possible using WMS GetFeatureInfo, the SLD parameter will be ignored, it's not part of the GetFeatureInfo request at all. Alternatively, you can create a WFS GetFeature request with the same filter as in the SLD. Best regards, Bart Hi list, At the moment I am trying to figure out how to include a filter statement in a GetFeatureInfo request. I already tested this using a SLD-filter which works fine with a GetMap request. However, when combining this with a GetFeatureInfo request, I get all the features at that point. There is no filter being applied. I'm puzzled. First of all this is the SLD filter I am using: ?xml version=1.0 encoding=UTF-8? StyledLayerDescriptor version=1.0.0 xmlns=http://www.opengis.net/sld; xmlns:ogc=http://www.opengis.net/ogc; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd; NamedLayer Namesdo_ldw_ccw_vlk/Name UserStyle Titlenvt/Title Abstractnvt/Abstract FeatureTypeStyle Rule ogc:Filter ogc:PropertyIsLike wildcard='*' singleChar='.' escape='!' ogc:PropertyNameLOC_ZK/PropertyName ogc:Literal*WERELD*/Literal /ogc:PropertyIsLike /ogc:Filter /Rule /FeatureTypeStyle /UserStyle /NamedLayer /StyledLayerDescriptor I use this GetMap request (works fine): http://server/cgi-bin/mapserv.exe?map=path\ldw_bsb_sdo.mapLAYERS=sd o_ldw_ccw_vlkSTYLES=VERSION=1.1.1REQUEST=GetMapSRS=EPSG:28992BBOX=9 1000,435250,94000,438250WIDTH=750HEIGHT=750FORMAT=image/pngTRANSPARE NT=FALSEBGCOLOR=0xFFSERVICE=WMSSLD=http://server/db_vla_str.xml I use this GetFeatureInfo request (sadly doesn't work): http://server/cgi-bin/mapserv.exe?map=path\ldw_bsb_sdo.mapLAYERS=sd o_ldw_ccw_vlkSTYLES=VERSION=1.1.1REQUEST=GetFeatureInfoSRS=EPSG:2899 2BBOX=91000,435250,94000,438250WIDTH=750HEIGHT=750QUERY_LAYERS=sdo_l dw_ccw_vlkX=325Y=662SERVICE=WMSFEATURE_COUNT=25INFO_FORMAT=applicat ion/vnd.ogc.gmlSLD=http://server/db_vla_str.xml I have tested this on Mapserver 5.2.1 and 5.6.3 without success. Has anyone got an idea how to solve this? Any help would be much appreciated! Thanks in advance. Geert ___ 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] Fwd: World Wind and Map Server
by this International Standard. On Nov 8, 2009, at 12:29 PM, Roger André wrote: Hi Tom, Problem is pretty simple to describe actually. One of the executives at my company found this page, http://worldwind.arc.nasa.gov/java/demos/ http://worldwind.arc.nasa.gov/java/demos/, and decided to try out the WMS Layer manager example, WMSLayerManager.jnlp http://worldwind.arc.nasa.gov/java/demos/WMSLayerManager.jnlp. He liked the various layers that were available, and asked me if it would be possible to view some of our MapServer WMS layers that I publish internally. We spent a couple hours trying to figure out what URL WWJ needed, and finally determined that it needed a full GetCapabilities URL. This URL for MapServer look like this: http://10.10.10.143/cgi-bin/mapserv?map=/var/www/mapfiles/precip/precip.mapREQUEST=GetCapabilitiesSERVICE=WMS; http://10.10.10.143/cgi-bin/mapserv?map=/var/www/mapfiles/precip/precip.mapREQUEST=GetCapabilitiesSERVICE=WMS;. However, this URL does not work in WWJ. When I checked the server logs to see whether WWJ was actually trying to connect to my WMS, I found that the request it sends is truncated, and looks like this: 10.10.10.143 - - [05/Nov/2009:09:51:37 -0800] GET /cgi-bin/mapserv?EXCEPTIONS=application/vnd.ogc.se_xmlREQUEST=GetCapabilitiesSERVICE=WMS HTTP/1.1 200 539 - Java/1.6.0_07. As you can see, the map parameter, which is crucial for MapServer, has been completely stripped out of the request. Without this, map=/var/www/mapfiles/precip/precip.map paremeter, there is no way for MapServer to determine which map to serve. Hope that helps, Roger -- On Sat, Nov 7, 2009 at 10:17 AM, Tom Gaskins t...@tomgaskins.com mailto:t...@tomgaskins.com wrote: Roger, I was sent a copy of your mapserver-list message describing a problem you're having connecting to map server from WWJ. But the message seems to be saying that you're entering a GetCapabilities URL and expecting that to generate a GetMap request to the server. Would you please tell me what the situation is and what you're trying to do. We almost never have problems connecting to conforming WMS servers. Thanks Tom ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] getfeatureinfo problems
msPOSTGISLayerFreeItemInfo called [Fri Jun 26 13:21:11 2009].543319 in msPOSTGISLayerGetItems (find column names) [Fri Jun 26 13:21:11 2009].543329 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name=NL.IMRO.0026.SVBBU-0001 [Fri Jun 26 13:21:11 2009].545217 msPOSTGISLayerInitItemInfo called [Fri Jun 26 13:21:11 2009].545230 msPOSTGISLayerGetShape called for record = 0 [Fri Jun 26 13:21:11 2009].545239 msPOSTGISLayerParseData: unique column = geoidn, srid='28992', geom_column_name = tc_vlak_geometry, table_name=NL.IMRO.0026.SVBBU-0001 [Fri Jun 26 13:21:11 2009].545253 msPOSTGISLayerGetShape: DECLARE mycursor2 BINARY CURSOR FOR SELECT geoidn::text,idealisatie::text,tc_multi_geometry::text,tc_lijn_geometry::text,tc_punt_geometry::text,asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR') from NL.IMRO.0026.SVBBU-0001 WHERE geoidn = 0 [Fri Jun 26 13:21:11 2009].547105 msFreeMap(): freeing map at 0x943d518. [Fri Jun 26 13:21:11 2009].547114 msPOSTGISLayerClose datastatement: tc_vlak_geometry from NL.IMRO.0026.SVBBU-0001 using unique geoidn using srid=28992 [Fri Jun 26 13:21:11 2009].547119 msPOSTGISLayerClose -- query_result is NULL [Fri Jun 26 13:21:11 2009].547124 msConnPoolRelease(geoidNL.IMRO.0026.SVBBU-0001_vlak,host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) Just as with the WFS problem, there is no data returning. The WFS does show the exposed columns, never any data in. I've not a clue of how to proceed, or how to get extra debug info. Please help ! MArco [Fri Jun 26 13:21:11 2009].547132 msConnPoolClose(host=localhost user=tc_check dbname=80.101.100.35,0x9457b38) ___ 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 -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] avl files
Hi, you can try Avein: http://sourceforge.net/projects/avein/ Best regards, Bart Paul Alarcon wrote: Hello forum does anyone know if there is a way to export the avl files from arcview to map files? thanks a lot Paul -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS Server - arcgis 9.3 Service Error Code:service
Which version of Mapserver are you running? This was fixed in 5.2.1. Best regards, Bart Travis Kirstine wrote: I have been attempting to test a wms service with arcgis and am having difficulties. ArcGIS keeps generating the following error: One or more layers failed to draw: test_wms: WMS service exceptions:-Service Error Code:service Service Error Description: msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing -Service Error Code:service I looked at my log file and there is no service parameter specified in the getmap request GET /cgi-bin/test_wms?VERSION=1.1.1REQUEST=GetMapSRS=EPSG:4326BBOX=-124.450428062007,47.8643742706868,-122.17631873153,49.8854889381483WIDTH=799HEIGHT=711LAYERS=ORTHOPHOTOSTYLES=EXCEPTIONS=application/vnd.ogc.se_xmlFORMAT=image/pngBGCOLOR=0xFFTRANSPARENT=TRUE HTTP/1.0 200 479 http://www.esri.com/7B099B36-70DF-4D0C-9803-12574249D3CE; ArcGIS Client Using WinInet I added the SERVICE=WMS to the request and tested it in the browser and it returned the image. Is there a parameter that I am missing in my mapfile or is this just a bad request from arcgis?. -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] out of scale layers and WMS GetFeatureInfo
Hi list, currently, if a layer is out of scale and someone issues a WMS GetFeatureInfo request, Mapserver will return feature info anyway. To me this seemed like a bug (unwanted behaviour), but I just wanted to check whether anyone is using this as a feature. Is anyone using this behaviour of Mapserver in ways that I can't think of right now? If so, please speak up. TIA. See also [1] for more info. Best regards, Bart [1] http://trac.osgeo.org/mapserver/ticket/842 -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Oracle virtual private database and ArcSDE
Sorry for the off-topic question, but is there anybody out here that has experience with the combination of Oracle Virtual Private Database and ArcSDE. In other words, Oracle's row level security in combination with ESRI's ArcSDE. If so, please contact me off-list. TIA. Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] copyright
Use {singleTile: true} on your layer options. Best regards, Bart Valeria Muñoz wrote: HI Bart yes i use openlayer 2009/2/23 Bart van den Eijnden (OSGIS) bart...@osgis.nl mailto:bart...@osgis.nl Are you using a tiled client like OpenLayers? Bart Valeria Muñoz wrote: Hi david, I check this example, but in my map the copyright multiply by 4, should be a problem of point? RG 2009/2/23 Fawcett, David david.fawc...@state.mn.us mailto:david.fawc...@state.mn.us mailto:david.fawc...@state.mn.us mailto:david.fawc...@state.mn.us This might help: http://mapserver.org/faq.html#how-do-i-add-a-copyright-notice-on-the-corner-of-my-map -Original Message- *From:* mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Valeria Muñoz *Sent:* Monday, February 23, 2009 12:54 PM *To:* mapserver-users *Subject:* [mapserver-users] copyright Hi do you know how can i put copyright in my map?, like google :) thanks,RG ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl mailto:bart...@osgis.nl http://www.osgis.nl http://www.osgis.nl/ -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] copyright
Are you using a tiled client like OpenLayers? Bart Valeria Muñoz wrote: Hi david, I check this example, but in my map the copyright multiply by 4, should be a problem of point? RG 2009/2/23 Fawcett, David david.fawc...@state.mn.us mailto:david.fawc...@state.mn.us This might help: http://mapserver.org/faq.html#how-do-i-add-a-copyright-notice-on-the-corner-of-my-map -Original Message- *From:* mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Valeria Muñoz *Sent:* Monday, February 23, 2009 12:54 PM *To:* mapserver-users *Subject:* [mapserver-users] copyright Hi do you know how can i put copyright in my map?, like google :) thanks,RG ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem with loading map file using C# map script
I just allowed your message on the list so I am sure Tamas will get it. Best regards, Bart Murty Maganti wrote: Sorry, it may be coming from our SMTP server. I will verify. *From:* Tamas Szekeres [mailto:szeker...@gmail.com] *Sent:* Wednesday, February 18, 2009 2:03 PM *To:* Murty Maganti *Cc:* mapserver-users@lists.osgeo.org *Subject:* Re: [mapserver-users] Problem with loading map file using C# map script Would you send me the files privately for the meantime? Tamas 2009/2/18 Murty Maganti mmaga...@oriongis.com mailto:mmaga...@oriongis.com Hi I have posted the test application. But the email is waiting for approval of moderator (as the attachment size is 75 KB and I think allowed is only 40 KB). Thanks Murty *From:* Tamas Szekeres [mailto:szeker...@gmail.com mailto:szeker...@gmail.com] *Sent:* Tuesday, February 17, 2009 6:33 PM *To:* Murty Maganti *Cc:* mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org *Subject:* Re: [mapserver-users] Problem with loading map file using C# map script Hmmm. I haven't found such an issue before. If you could post an example that would be helpful to reproduce this. Best regards, Tamas 2009/2/18 Murty Maganti mmaga...@oriongis.com mailto:mmaga...@oriongis.com Hi I have a issue loading a map file through map script and need help. I have two map info (tab) files with same name but in two different folders. I have two map files each containing each layer. I am loading these map files using C# map script (each map file is loaded in to a separate mapObj on a separate thread). At run time, when I debug the second mapObj, the layer has items (layerObj.getItem()) from the first layer loaded by the first map file. I verified 'shapepath' on mapObj and it is pointing to correct path. There is nothing wrong there. I am surprised how is it caching the item info, just by the file name (file name is same but they are completely from different folders). When I load the map file one more time (again a different .Net thread, it shows up correct fields). Within my app (Asp.Net), I can consistently replicate this. Thanks Murty ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto: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 -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver WMS client without SERVICE parameter
Hi, this was fixed in Mapserver 5.2.1. So please upgrade. Best regards, Bart Ivan Mincik wrote: Dear users, We want to use Manifold GIS to connect to UMN Mapserver WMS server. Manifold request doesn't contain SERVICE parameter. (It should be a bug on the Manifold side. It was already submitted. No response since now .) If mapserver will receive request without SERVICE parameter, it will process it as WFS request. We want WMS response. Is there any way how to configure mapserver to return WMS response even if SERVICE parameter is not present ? Thanks Ivan ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] ogrinfo failure.
Open up a dos prompt and first run ms4w\setenv.bat, after that you can use ogrinfo. Best regards, Bart Νίκος Παπαδάκης wrote: Hi list. I have a problem running ogrinfo.exe. When i press enter i get the following message: This application has failed to start because gdal15.dll was not found.Re-installing the application may fix this problem. Well,i re-installed ms4w but the problem remains. Does anyone know where the error might be? Thank you in advance...! ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] did something change in reading in empty TAB files?
Hi list, at least starting Mapserver 4.10 (GDAL 1.3.2) there seems to be a problem with reading empty MapInfo TAB files, whereas in the past (4.6 for sure) this used to work. Is this issue known to someone? The error I get is: 09-Jul-2008 18:08:23] PHP Warning: [MapServer Error]: msOGRFileNextShape(): InitBlockFromData(): Invalid Block Type: got 0 expected 2 in D:\ms4w\apps\stragisweb\htdocs\common\chameleon\htdocs\common\wrapper\drawmap.php on line 533 An example TAB file can be found here: www.osgis.nl/download/mapserver/gemgrens.zip Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] To WFS, WMS or to WCS
Hi Sarel, I can probably explain it in a few sentences. WMS is a web mapping service, so it is meant to render an image of data, be it vector or raster data. It only gives you back an image representation of your data. WFS is a web feature service, it is meant to deliver the features (in vector format) to the client, so the raw data. The vector format is mostly GML (Geography Markup Language). WCS is a web coverage service, it is the raster version of WFS, so to deliver raster coverages in a raw format to the client. If you only need images and a query on a point click, stick with WMS. If you need your users to actually download data, you will need WFS + WCS. There is also a thing called SLD WMS (Styled Layer Descriptor), where the WMS client can change the symbology of the map, and get an image back in different colors/patterns etc. than the default one advertized by the service. Hope this helps. If you have further specific questions, don't hesitate to ask. Best regards, Bart Sarel Coetzer wrote: Hi Is there anywhere a brief explanation of the deferent types of map services such as WFS, WMS and WCS. What each service does differently then the other and how to identify which one would be the correct service to use for a specific application. I have read the various how to's on the wiki but I am trying to find a one page comparison of capabilities/advantages or disadvantages of these various services. Regards Sarel Regards Sarel -- http://sarelgis.blogspot.com/; ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] To WFS, WMS or to WCS
Hi Sarel, please cc the list since it might be useful for other people searching the archives one day. 1) AFAIK WMS server does not generate any images in the temp dir when using Mapserver in CGI mode. The WMS client in Mapserver does (so if you use remote WMS layers). I don't think WFS and WCS server store temporary images, but WFS client will store the file. 2) yes, you can use the same MAP file, see the OGC web services workshop. 3) it is not different, it just means the output format differs (so GML for WFS instead of e.g. image/png for WMS), the source data can be the same. 4) I am unaware of any KML support in Mapserver at the moment. Best regards, Bart Sarel Coetzer wrote: Thanks for the help Bart Yes, I do have some questions. - WMS creates a lot of images in my temp folder (I have a batch files cleaning this out regularly ), does WCS/WFS create any temp images? - Would one mapfile be able to host all tree services? - For my MS WMS am thinking about using the FWTools to export my postGIS layers from server to client (clients format choice shpfile,mapinfo or kml), how would WCS or WFS handle this differently? - Last one (sorry!) What type of service does KMLMapsever require, I have tried spitting out KML but I get an error in Google earth saying it has lost the network connection. Many thanks Regards Sarel On Tue, May 13, 2008 at 10:27 AM, Bart van den Eijnden (OSGIS) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Sarel, I can probably explain it in a few sentences. WMS is a web mapping service, so it is meant to render an image of data, be it vector or raster data. It only gives you back an image representation of your data. WFS is a web feature service, it is meant to deliver the features (in vector format) to the client, so the raw data. The vector format is mostly GML (Geography Markup Language). WCS is a web coverage service, it is the raster version of WFS, so to deliver raster coverages in a raw format to the client. If you only need images and a query on a point click, stick with WMS. If you need your users to actually download data, you will need WFS + WCS. There is also a thing called SLD WMS (Styled Layer Descriptor), where the WMS client can change the symbology of the map, and get an image back in different colors/patterns etc. than the default one advertized by the service. Hope this helps. If you have further specific questions, don't hesitate to ask. Best regards, Bart Sarel Coetzer wrote: Hi Is there anywhere a brief explanation of the deferent types of map services such as WFS, WMS and WCS. What each service does differently then the other and how to identify which one would be the correct service to use for a specific application. I have read the various how to's on the wiki but I am trying to find a one page comparison of capabilities/advantages or disadvantages of these various services. Regards Sarel Regards Sarel -- http://sarelgis.blogspot.com/; ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.osgis.nl -- http://sarelgis.blogspot.com/; -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] getCapabilities problems
That's logical, since OGC did not define the mime-type as text/xml, but as application/vnd.ogc.wms_xml instead, so browsers have no clue what to do with it, so present the download dialog. You can probably configure your browser to display it as XML though. Best regards, Bart Stefan Schwarzer wrote: my getCapabilities request seems to have a problem... But I have no idea why. I've reduced the whole thing on a couple of lines (see below), but still it doesn't work. Can anyone give me a hint why that would be? so, it seems to be correct; it just doesn't display the XML file in my browser(s) (Safari, Firefox)... ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] How do I make a shapefile polygon thicker within UMN Mapserver
See the FAQ under section How do I set line width in my maps? http://mapserver.gis.umn.edu/docs/faq Best regards, Bart John Mitchell wrote: Hi, How do I make a shapefile polygon thicker within UMN Mapserver? I have listed below the layer that correctly displays the outlines contained within the shapefile, but I can't figure out how to make the polygon outlines thicker. LAYER # name of layer NAME stlouisxdrive GROUP gv:stlouisxdrive PROJECTION init=epsg:26915 END # what type of data is this? TYPE POLYGON DATA C:/TEMP/64Resolution # always returned with interface STATUS ON CLASS OUTLINECOLOR 255 0 0 END END -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS getFields ?
Try and send an e-mail to: To remove your address from the list, send a message to: [EMAIL PROTECTED] If that does not work then contact the list administrator: [EMAIL PROTECTED] Best regards, Bart Marcelo Mendoza wrote: Thnx for the reply Guillaume... the clue was very clear I would do what you suggest, but the button does not work! I've been trying to unsuscribe since july-2006, but that maybe dont f*ck*ng now or care... I've sent emails everywere and got nothing else but more mails from the list. If you dont have the solution please keep yourself away form the reply button -if you know where is it (I can point to you if you need it), and would appreciate if you can be more original when trying to insult me... Anyway... thnx Guillaume... btw: Unsuscribe me please thnx Date: Tue, 11 Mar 2008 21:00:46 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS getFields ? I can't make my text bigger than yours as I don't send HTML emails, but : go to http://lists.osgeo.org/mailman/listinfo/mapserver-users try to understand what's up in there (clue : unsubscribe is the last item on the page) and then go to hell Guillaume Marcelo Mendoza a écrit : Unsuscribe me please... thnx Todo ruedas: información práctica y todo el glamour del mundo del motor. MSN Estilo y Tendencias http://estilo.es.msn.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] combine many georeferenced tifs in one layer
You can do the following things to speed up performance: * create a spatial index on your tileindex shapefile with shptree (also make sure you reference your TILEINDEX in the MAP file without the .shp suffix) * create overviews in the tiff files using gdaladdo Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl - Oorspronkelijk bericht Van: [EMAIL PROTECTED] Naar: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Onderwerp: RE: [mapserver-users] combine many georeferenced tifs in one layer Datum: 10/03/08 10:51 Thanks a lot Bart and you too Till! I had some troubles with the wildcards (*.tif) since the gdaltindex binary from gdal.org doesn't seem to support them - although it says so in the manual. I googled a bit and found fwtools which have gdaltindex implemented as well and here the wildcards work. But just as I thought I get follow-up problems :) 1) gdaltindex puts out a warning when processing my tiffs: Warning 1:TIFFFetNormalTag:ASCII value for tag quot;copyrightquot; contains null byte in value; value incorrectly truncated during reading due to implementation limitations But luckily that doesn't seem to influence the result. Still I would like to know what it is trying to tell me and google doesn't know :) 2) when loading the layer it takes at least 20seconds for mapserver to show it. I understand it is because of big amount of data? (50files, all in all 40MB) Is there any way to speed this up? Thank you very much for your help! Janosch -Ursprüngliche Nachricht- Von: Bart van den Eijnden (OSGIS) [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. März 2008 11:49 An: Skrobek, Janosch; mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] combine many georeferenced tifs in one layer You need to create a tileindex using gdaltindex, and then reference that tileindex in your layer. See the RASTER HOWTO for details, chapter 4: http://mapserver.gis.umn.edu/docs/howto/raster_data Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl - Oorspronkelijk bericht Van: [EMAIL PROTECTED] Naar: mapserver-users@lists.osgeo.org lt;mapserver-users@lists.osgeo.orggt; Onderwerp: [mapserver-users] combine many georeferenced tifs in one layer Datum: 10/03/08 08:45 gt; Hello everyone! gt; gt; I'm just getting started with Mapserver and have worked my way through gt; the tutorial made by Pericles S. Nacionales. Now I have started to work gt; on my own mapserver application but am experiencing some problems. gt; gt; I have a shapefile of my hometown which I use as the background layer. gt; Now I want to add Raster Data, I have 50 georeferenced tif tiles of the gt; area. I could add them in an own layer each but I would rather like all gt; these tiffs to be in one layer. Is there a way to tell mapserver to use gt; all tiffs in a folder for a layer? If not, what would be the best way to gt; combine these tiffs into one big image? gt; gt; I hope you can help me out :) gt; gt; Best Regards gt; Janosch gt; gt; gt; gt; Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. gt; Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, gt; informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte gt; Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der gt; rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über diese gt; E-Mail-Adresse derzeit noch nicht möglich. gt; gt; gt; gt; ___ gt; mapserver-users mailing list gt; mapserver-users@lists.osgeo.org gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users gt; gt; Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über diese E-Mail-Adresse derzeit noch nicht möglich. ___ 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