{5} Assigned, Active Tickets by Owner (Full Description) (128 matches)
List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.
assefa
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1350 | Cannot query for propertyname using namespace | WFS Server | 5.2 release | defect | 05/11/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have defined a namespace for my WFS server:
wfs_namespace_prefix "stragisweb"
wfs_namespace_uri "http://www.syncera.nl/stragisweb";
When using a propertyname like stragisweb:MYCOLUMN it does not get interpreted
by Masperver. MYCOLUMN does work though.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1583 | [WFS-Server] enable temporal support on filters | WFS Server | FUTURE | defect | 12/20/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note: see email thread below (bottom to top) -- Tom, I think that should work. I checked a bit the code and It should not be too bad to integrate. You should post it as an enhancement for sure. Later, Kralidis,Tom [Burlington] wrote: >Assefa, > >Thanks for the info. What about doing it like this: > >- WFS filter is sent >- mapwfs.c checks mapfile to see if LAYER/METADATA/"ows_timeitem" matches Property element > - if yes, do a time-enabled expression > - if no, do a literal expression as per usual > >Comments? > >..Tom > > > >-----Original Message----- >From: UMN MapServer Users List on behalf of Yewondwossen Assefa >Sent: Tue 20-Dec-05 14:00 >To: MAPSERVER-USERS@LISTS.UMN.EDU >Cc: >Subject: Re: [UMN_MAPSERVER-USERS] temporal queries via WFS >Tom, > > This end up to be setting the expression as It was a litteral >expression instead of setting it using the back tics that indicates to >mapserver to do time comparing (`[time_field]` ge `2004-10-12`). There >is no detection right now to see if the filer parameters are time values >or not. Not even sure how we should detect it. If we can find a way or >logic to indicate that the value is a time, setting the filter is pretty >easy. > >Later, >Kralidis,Tom [Burlington] wrote: > > > >>Hi, >> >>I'd like to do a GetFeature request, something like: >> >>http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?service=WFS&version=1.0.0&request=GetFeature&typename=obs&filter=<Filter><PropertyIsGreaterThan><Property>datetime</Property><Literal>2002-10-30T00:00:00Z</Literal></PropertyIsGreaterThan></Filter> >> >>The result should bring back two results (i.e. more recent than 2002), but returned are all the records. The data is configured for WMS Time support. >> >>Is it possible to do temporal slices in MapServer WFS in this fashion? >> >>..Tom >> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2147 | Filter logical operator <OR> not working properly in SLD | WMS Server | 5.2 release | defect | 07/10/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It seems that values entered in Filter expressions in SLD rules which use the logical operator OR are not used properly in some cases. I noticed this when combining numeric and string values. I.e. (QUALI is a text field from a shapefile) 1 - This will work: <Filter> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>24</Literal> </PropertyIsEqualTo> </Filter> 2 - This will also work: <Filter> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>24a</Literal> </PropertyIsEqualTo> </Filter> 3 - But this will fail: <Filter> <OR> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>24</Literal> </PropertyIsEqualTo> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>24a</Literal> </PropertyIsEqualTo> </OR> </Filter> 4 - Althought this will work: <Filter> <OR> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>11x</Literal> </PropertyIsEqualTo> <PropertyIsEqualTo> <PropertyName>QUALI</PropertyName> <Literal>24a</Literal> </PropertyIsEqualTo> </OR> </Filter> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2197 | Cleanup code that strips namespaces in msWFSDescribeFeatureType() | WFS Server | 5.2 release | defect | 08/02/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The following code in msWFSDescribeFeatureType() was introduced in r2435 and is intended to strip namespaces in the list of typenames provided by the caller but it seems to have a few problems listed below: layers = msStringSplit(paramsObj->pszTypeName, ',', &numlayers);
if (numlayers > 0) {
/* strip namespace if there is one :ex TYPENAME=cdf:Other */
tokens = msStringSplit(layers[0], ':', &n);
if (tokens && n==2 && msGetLayerIndex(map, layers[0]) < 0) {
msFreeCharArray(tokens, n);
tokens = NULL;
for (i=0; i<numlayers; i++) {
tokens = msStringSplit(layers[i], ':', &n);
if (tokens && n==2) {
free(layers[i]);
layers[i] = strdup(tokens[1]);
}
if (tokens)
msFreeCharArray(tokens, n);
tokens = NULL;
}
}
if (tokens)
msFreeCharArray(tokens, n);
}
1- We check only layers[0] to decide if we are going to strip namespaces. What if layer[0] doesn't contain a namespace and layer[1] does contain a namespace? Should we not strip namespaces anyway? 2- I guess the conclusion from the question above is that we should loop on all layers and try each layer name with msGetLayerIndex() and if they fail try removing the namespace prefix? Would that be better? 3- Doing a msStringSplit() to look for a ':' delimiter is expensive. Would it not be better to use " if (strchr( string, ':') != NULL) ... " instead? 4- Since we have very similar code in msWFSGetFeature(), should we not move that to a function and reuse it? Assefa, what would you think of using the following (untested code) and moving it to a function? layers = msStringSplit(paramsObj->pszTypeName, ',', &numlayers);
for (i=0; i<numlayers; i++) {
if ( msGetLayerIndex(map, layers[i]) < 0 ) {
/* Try stripping namespace if there is one ex: TYPENAME=cdf:Other */
const char *basename;
basename = strchr(layers[i], ':');
if (basename && basename[0] != '\0' && msGetLayerIndex(map, basename) >= 0) {
free(layers[i]);
layers[i] = strdup(basename);
}
}
}
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2305 | [SLD] external graphic and default size | WMS Server | 5.4 release | defect | 09/11/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
reported by Bart just spent half of my day finding out why an SLD with external graphics did not work anymore with 5.0, something like: <PointSymbolizer?><Geometry><PropertyName?>msGeometry</PropertyName></Geometry><Graphic><ExternalGraphic?><OnlineResource? '.
I used a PointSymbolizer? with Size 1 and this results in something like:
In Mapserver 4.10 this used to draw the symbol in its native size/dimension, but in 5.0 this does not work anymore, i.e. I do not see anything in the map. If I change Size to 17 (the size in pixels of the image used), the SLD works fine again. Was this change intentional? Anyways, I guess this should be documented in the migration guide :-) ? Something additional, Mapserver does not comply with the SLD spec if you omit the Size in the SLD. The SLD 1.0 spec says: "The default size of an image format (such as GIF) is the inherent size of the image." but Mapserver seems to use a default of 6 pixels ...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2386 | [SLD] error generating sld filters on some expressions | WMS Server | 5.2 release | defect | 11/05/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Error generating sld filters on class expressions using eq, ge, .... instaed of =, >= ... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2336 | Instances do not have instance names associated | Output-SWF | 5.2 release | enhancement | 10/02/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Elements are created a s Butoon instances, but there is no name associated with the instances. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2367 | [SLD] external graphic symbol and transparency issue | WMS Server | FUTURE | enhancement | 10/26/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When using a 8 bit gif file in an external graphic symbolizer, the transparency color index is not used. Usually if the user is setting the same symbol through the symbol file, he would define the transparent color index in the symbol definition. Symbol Name 'red_square_joost' Type PIXMAP TRANSPARENT 0 GAP -20 IMAGE "./markers/red-square.gif END |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2437 | WMS multi styles support | MapServer Documentation | 5.2 release | enhancement | 12/14/07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is a general bug to follow implementation of RFC-39 (http://mapserver.gis.umn.edu/development/rfc/ms-rfc-39/) General steps:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2547 | WFS 1.1.0 support | WFS Server | 5.2 release | enhancement | 03/14/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
General bug to trac/discuss support of WFS 1.1.0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2682 | php paste image should also work with AGG | MapScript-PHP | 5.4 release | enhancement | 07/04/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
pateImage function in php should also work with AGG |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dmorissette
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #94 | New OGR Autostyling colors don't always work | OGR Support | defect | 01/18/02 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Daniel, I am testing my autostyling of DGN labels. I have it working with true type fonts now and suddenly the labels are no longer being colored properly. I have determined that new colors added to the map palette in msLayerGetAutoStyle may not get added to the gdImg palette. In particular, when I render anti-aliases labels, the gd and freetype code add extra colors to the gdImg palette for the edge pixels with mixed colors. If a later label with a new color is encountered by msLayerGetAutoStyle() it gets added to the map palette. However, the subsequent call to msUpdatePalette() fails to copy the new color over to the gdImg palette since that slot is already occupied by anti-aliasing colors that were never in the map palette. The result is that the labels are colored improperly. I am not sure what the solution is. Perhaps before calls to msLayerGetAutoStyle() any extra gdImg colors should be (at least temporarily?) propagated into the map's palette. What are the issues with doing that? Best regards, msLayerGetAutoStyle w 1) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #115 | [OGR] Problem with STYLEITEM AUTO and reprojection of units | OGR Support | defect | 02/20/02 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Frank Warmerdam wrote: > > However, now that I think about this, I am concerned that if PROJ is used to > transform the spmap data from kilometers to meters the text height (expressed > in km) will not be properly rescaled to go along with it. If so, I doubt > your mapfile will work properly even yet. I will have to talk to Daniel about > how to handle this. I am not sure what can be done practically. > |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #309 | Improve scale calculation for maps in geographic coordinates | MapServer C Library | defect | 04/13/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The current implementation of scale calculation in MapServer for maps in lat/lon coordinates (UNITS DD) works with the assumption that 1 degree is approx 69 miles, which is true only at the equator. This results in an error in the scale calculation for maps of areas way up north. We should look at a way to improve this... it might be enough to simply change the scale calculation to assume a perfect sphere and use cos(lat) to adjust the horizontal size of 1 degree at the center of the map view. Then taking the diagonal size of one pixel at the center of the map as a base for calculations would do the trick. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #331 | [OGR] Use layerinfo in layerObj | OGR Support | 5.4 release | defect | 05/28/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Need to convert the OGR and WFS layer types to use the generic lp->layerinfo instead of custom handles. Important note: be careful about WFS since it's a wrapper around OGR... Steve Lime wrote: > > Dan: I've taken care of this for everything but the 2 you mention. I'll > be hidding the shpfile structs behind the layerinfo pointer too. > > Steve > > >>> Daniel Morissette <morissette@dmsolutions.ca> 02/17/03 16:46 PM >>> > Steve Lime wrote: > > > > Dan: I'm poking around the code a bunch trying to wrap stuff up. > Anyway, > > one thing I noticed is the variety of layerinfo pointers in the layer > > object, one for each connection type. For simplicity wouldn't it be > just > > as easy to specify a single (eg. void *layerinfo;) pointer? We already > > do that for iteminfo. > > > > I agree that this would be a nice change, but there may be an issue with > merging the WFS and OGR layers since the WFS layer uses an OGR > connection, so both the wfslayerinfo and the ogrlayerinfo are used at > the same time. You could leave the WFS and OGR there untouched and let > me know when your other changes are done and I'll take care of fixing > them myself by creating a combined data structure for WFS and OGR. > |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #606 | unexpected polygon label placement | MapServer C Library | 5.4 release | defect | 03/29/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When labeling polygons, labels are often placed in unexpected locations including on the edge or even completely outside the polygon. I will attach two images to demonstrate. The first shows Flodida and bordering states, and the FL label falls on the FL/AL border. AL is not labeled at all even though there would be room for a label if the FL label was better placed. In this case the label POSITION was set to CC. The second image shows Alaska and northwest Canada. The label POSITION in this case is AUTO and it results in the BC label falling completely outside its polygon. None of the labels are really where I would want or expect them to be. From a cartographic viewpoint this is a serious problem. Chosing a different POSITION may help in this case, but in other areas of the map it would create new problems. What is really needed is a an assurance that labels will at least fall completely within the polygon they are associated with. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1246 | WMS client defaults to optional exceptions format for GetMap | WMS Client | 5.4 release | defect | 02/17/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Looking at the source code, Mapserver WMS client, always uses the inimage
type of exceptions in its WMS request:
if (nVersion >= OWS_1_1_0)
pszExceptionsParam = "application/vnd.ogc.se_inimage";
else
pszExceptionsParam = "INIMAGE";
But, application/vnd.ogc.se_inimage is an *optional* exception format in
the WMS spec, so I think your idea would be good of being able to override
this as a user. This is a necessary enhancement, since the default
requested exception format is an optional one, and I would suggest you to
open an enhancement bug for this in the Mapserver bugzilla. Something like
wms_exception_format/ows_exception_format METADATA.
This may also involve some more error handling in Mapserver WMS client
though, since it is not expecting XML type of exceptions for GetMap right
now. So it might not be as straightforward as it looks to implement this.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1353 | Need ability to force a labelcache buffer around the edge of a map | MapServer C Library | defect | 05/16/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We are looking at using MapServer to generated tiled maps (google-style), and ran into some rendering issues at the edge of the map image. To work around those issues, we want to generate our map image in MapServ er larger than the tiles, and cut off the outside edge. This works great, except for the labels that end up being truncated. To solve the truncated label issue, I'd like to add a way to specify a buffer (value in pixels) around the map image where no labels can be drawn. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1976 | Optimize lookup of EPSG projection codes | WMS Server | 5.4 release | defect | 11/29/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A few weeks ago I was doing some benchmarks with MapServer 4.10 on a mapfile with about 10 layers in it and replacing the 10 "init=epsg:xxxx" defns with native PROJ.4 definitions made the WMS GetCapabilities requests go from 3 hits/seconds to 12 hits/seconds (4 times faster!). Since EPSG codes are used a lot by all OGC services, optimizing the EPSG lookup (or caching them at a minimum) is something that would be very valuable for all OGC service users. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #300 | [WMS] Extend behavior of DUMP mapfile parameter for GML output | WMS Server | 5.4 release | enhancement | 03/24/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Doug Cates wrote: > > I'm using MapServer 3.6.4 as a WMS server, and it is working very well. For > the GetFeatureInfo request, I'm asking for the info in format > "application/vnd.ogc.gml", which works fine if "DUMP true" is added to the > map file for each queryable layer. The result returns attribute values and > geometry. > > I'm asking for it this way so I can process the XML response, move the > values into a recordset, and use the results in my application in a number > of ways. Most of the time, I don't need the geometry. Since the geometry can > be quite large, it wastes a lot of bandwidth and time when I don't need it. > I'd like some way of turning the geometry off when it isn't required, or > when I don't care to expose the geometry to other users of my services. > > I propose that the DUMP directive be extended, with more options than true > or false. Something like: > > DUMP true > Outputs all attribute fields and geometry. > > DUMP false > Disable GML output. > > DUMP attributes > Outputs attribute fields only (no geometry). > > DUMP "field1,field2,...." > Outputs specified fields only. Output geometry only if geometry/shape field > name included. > |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #337 | [WMS] Need a way to prevent layers from being served via WMS | WMS Server | 5.4 release | enhancement | 06/12/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jean-Francois.Doyon@ccrs.nrcan.gc.ca wrote: > > Yup, that is correct, right now, you can't hide a WMS layer in a given > mapfile, from showing up in GetCapabilities ... Weren't you paying attention > in our workshop debbie ? :) > > I haven't checked, but I'd encourage you to file a feature enhancement into > the MapServer bugzilla about this if there isn't one already ... I could use > that feature too :) > > Cheers, > J.F. > > -----Original Message----- > From: Lowell Filak [mailto:lfilak@medinaco.org] > Sent: Wednesday, June 11, 2003 4:17 PM > To: Debbie Pagurek; mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] preventing certain layers from appearing > in thegetCapabilities doc? > > If I recall a discussion from the User Meeting correctly, you will need to > use a different Mapfile to do that. > HTH > Lowell F. > > The following message was sent by "Debbie Pagurek" <pagurekd@agr.gc.ca> on > Wed, 11 Jun 2003 13:49:05 -0400. > > > Hi all, > > I have a mapfile that I am using for an web mapping interface, as well as > doubling as a WMS server. There are layers used in the interface that I > don't want appearing in the getCapabilities document though and I thought I > could prevent them from appearing there by omitting the METADATA tags for > those layers, but that is not the case. Is there a way to select which > layers in a mapfile should appear in a GetCapabilities document? > > > > Thanks, > > Debbie > > |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2531 | add mode=ows functionality | MapServer CGI | 5.4 release | defect | 02/28/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Propagated by #2512, OGC CITE tests require the SERVICE parameter to be passed. If not passed or invalid, an ExceptionReport is expected. The problem here is that MapServer supports more than just OWS approaches from the CGI interface. So while not valid for OWS, it is valid for CGI MapServer. Here is what everyone seemed to agree upon: """ I agree with Daniel. Making 'mode=ows' a static part of the OnlineResource URL is probably the best way to be OGC-compliant with the least impact on your existing code base. --- Raj On Feb 27, 2008, at 4:39 PM, Daniel Morissette wrote:
""" So we should add "ows" as a valid mode for the mode parameter. Initial questions:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2674 | Creation of new shape object from scratch within php_mapscript caused an error | MapScript-PHP | 5.2 release | defect | 07/02/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I created a new shape file object within php_mapscript and got the error below. I tested with MapServer 5.2.0 beta2, beta 3 and trunk on Ubuntu. It doesn't happen with 5.0.2 release. I pasted below the script used for the test. [02-Jul-2008 15:27:21] PHP Warning: [MapServer Error]: msNewSHPFile(): (ttt) in /home/nsavard/fgs-ms5.2.0.beta3/www/htdocs/createshp.phtml on line 9 [02-Jul-2008 15:27:21] PHP Warning: [MapServer Error]: msSHPOpen(): Corrupted .shp file : nRecords = -12. in /home/nsavard/fgs-ms5.2.0.beta3/www/htdocs/createshp.phtml on line 9 [02-Jul-2008 15:27:21] PHP Fatal error: Failed to open shapefile ttt in /home/nsavard/fgs-ms5.2.0.beta3/www/htdocs/createshp.phtml on line 9 and the script is: <html>
<body>
<?php
dl("php_mapscript.so");
$shpFname = "ttt";
$shpFile = ms_newShapeFileObj( $shpFname, MS_SHP_POINT );
?>
</body>
</html>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
jlacroix
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1224 | MapServer performance issue drawing gmap map | MapScript-PHP | defect | 02/08/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Paul brought up an interesting question: why is this script so slow?
<?php
dl( 'php_mapscript_44.so' );
$oMap = ms_newMapObj("/home/daniel/proj/msapps/gmap/htdocs/gmap75.map");
$oImg = $oMap->draw();
$szURL = $oImg->saveWebImage();
echo "<img src=$szURL>";
?>
real 0m0.794s
user 0m0.583s
sys 0m0.033s
I seem to remember that GMap was drawing its map in more or less the same time
on very slow hardware 3-4 years ago. The times above are on a relatively recent
and fast Linux machine. Is MapServer becoming fat and slow?
Assigned to Julien to try to shed some light on this. Perhaps start by comparing
with performance of older versions, and also try some profiling.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
jmckenna
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2534 | Update PHP/Mapscript Class Reference doc | MapServer Documentation | 5.0.4 release | task | 03/05/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
kyngchaos
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2661 | support libharu as alternative PDF library | Output-PDF | 5.4 release | enhancement | 06/23/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A couple problems with PDFlib:
It looks like libharu is matured from when I originally found it last year. It may not be as full featured, yet, as PDFlib, but it could be enough for MapServer. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mapserver-bugs@refractions.net
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #2006 | Join with postgis table | PostGIS Interface | defect | 01/13/07 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Join with postgis table noz work when FROM and TO items are charater type.
mappostgresql.c line 336 must change to
sprintf(sql, "SELECT %s FROM %s WHERE %s = '%s'", columns, join->table,
join->to, joininfo->from_value);
thanks
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mapserverbugs
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #462 | Need support for ITEM data types for WFS server | WFS Server | FUTURE | defect | 10/20/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
As part of the WFS enhancements, we need to be able to return proper attribute data type information in DescribeFeatureType responses. The current version of MapServer treats all attributes (items) as strings and this bug is to discuss any implications/objections of a change to support attribute data type information in MapServer 4.1. Here is what we propose: 1- Add a mechanism in MapServer to maintain field (item) name, data type, size, and precision. This would likely be a new itemDefnObj that would be set by msLayerGetItems() instead of the array of field names that it currently produces. 2- Each data source driver would then have to be modified to return proper type information. For a start we should make all drivers return item data types as "string" by default, and then we should file bugs for each driver maintainer to update their driver when they have time. 3- For the time being, attribute values would still be carried as strings internally. We could switch to using a union similar to OGR's OGRField later on, but for now we'll carry all values as strings internally to limit the amount of changes to the code. 4- The WFS DescribeFeatureType will need to be extended to publish data types. Note that this implies that some rules related to those data types in XML will have to be followed. Any comments, objections, suggestions? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #467 | [WMS Client] Problem getting WMS layer at certain scales | WMS Client | FUTURE | defect | 10/22/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This problem seems to be specific to requests to the MassGIS WMS server at: http://maps.massgis.state.ma.us:8080/mapaccess/main.jsp Some layers have scale dependent visibility, but if MapServer requests a layer at a scale at which the layer is not available it returns an error rather than not returning an image, or returning a blank image. The error message includes: "Warning: [MapServer Error]: drawEPP(): EPPL7 support is not available." The complete error message can be seen by running the attached test script. Here is the text from the capabilities document that refers to the layer that is causing the problem: <Layer queryable="1" opaque="0" noSubsets="0"> <Name>MA Towns Boundaries-towns_poly_axl7</Name> <Title>MA Towns Boundaries</Title> <SRS>EPSG:26986</SRS> <BoundingBox minx="33861.26" miny="777514.31" maxx="330846.09" maxy="959747.44" srsName="EPSG:26986" /> <ScaleHint min="150000.30000060014" max="" /> </Layer> The ScaleHint tag gives a clue to why the error occurs, but the nature of the error message is a mystery to me. I will attach a mapfile and a script that reproduces the problem. (Thanks to Paul Spencer for writing the script) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1300 | [layers] tag not processed by mapObj->processtemplate() | MapScript-PHP | defect | 03/28/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mapObj->processtemplate() always leaves the [layers] tag empty even though there are valid set layers (status=on/default) within the map ( i.e. <h1> '[layers]' </h1> => <h1> ' ' </h1> ) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1905 | missing bounding boxes in wms getcapabilities | WMS Server | enhancement | 09/11/06 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When offering several spatial reference systems in a mapfile by e.g. using: "wms_srs" "EPSG:31467 EPSG:31466 EPSG:31468 EPSG:31469 EPSG:25832 EPSG:4326" bounding box tags for each spatial reference system are missing for at least the root layer in the corresponding wms getcapabilities. Although this is an optional tag regarding to the wms specification, it should be possible to generate these bounding boxes in the capabilities with mapserver. WMS Clients sometimes use them. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1019 | support legend graphic generation for WMS layers | WMS Client | 5.2 release | defect | 11/01/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When mapserver acts as a WMS client, it does not use the legendurl metadata to generate legend icons. It would be very nice if mapserver would be able to generate legend icons for remote WMS layers from the legendurl metadata. An acceptable limitation would be to require all the metadata that is created when loading a context file. The intention would be to have legend icons show up in both the mapserver legend and the legend template processor output. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pramsey
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1949 | mapserver WMS time support in postgis | WMS Server | 5.4 release | defect | 10/26/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
As requested by Assefa I enter a bug for this issue. Here what it says in the WMS 1.1.1 doc. "If a request does includes an imprecise dimensional value, and nearest value behavior has been declared, then the server shall compute and send the nearest available value. The value shall be rounded, not merely truncated." Right now, mapserver is using date_trunc function to allow the user to specify months, days, hours or minutes. I think this could be enhanced to get the nearest time value in Postgres. For example, NASA GES has 3 hourly data. If the user specify 2006-09-28T02:00 a blank image is return, the user needs to be exact 2006-09-28T03:00. Same thing with 10-day data, 2006-09-03 will return a blank image. User have to hit the right date 2006-08-10, 2006-08-20, 2006-08-31, 2006-09-10,.... Example Tropical Rain data 3B42_V6_10_DAY: http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20 blank image http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20T04:00 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sdlime
| Ticket | Summary | Component | Milestone | Type | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #305 | symbol SIZE in CLASS is not exact (one pixel too small) | MapServer CGI | defect | 04/07/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When rendering point and polygon symbols (I have not tested lines), I have discovered that the SIZE parameter of a CLASS specifies: "the rendered vertical size of the symbol in pixels" - 1. This applies to both vector and raster symbols. This is unexpected behaviour and not documented(?). It means that people who want to have full control of their symbols appearance will be very confused. What are the reasons for this strange behaviour (apart from indexing in C)? I hope that the semantics of the SIZE parameter can be changed so that it gives the exact vertical size of the symbol in pixels. The problem is, of course with legacy symbol sets and mapfiles, but since the changes that are made in Mapserver 3.7/4 are already significant I hope it will be possible to make the change. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #355 | Spaces in CONNECTION strings for SDE cause problems. | Input - Native SDE Support | defect | 07/07/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Spaces in CONNECTION strings for SDE (not sure about the other DBs) cause problems. Solution is to trim leading a trailing blanks from parameters before using them. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #374 | Errors in query template processing don't get back to the user. | MapServer CGI | defect | 07/25/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returning MS_FALSE from msreturnQuery (maptemplate.c) doesn't cause an error to be returned to the user. Most of the time it would be no big deal cause it would have to be a significant error such as memory corruption to throw an error at this point. However, with JOINs this is the first place they are used so stuff like bad column names or even table names that do cause errors are not reported. Not sure if the errors are not being caught in the functions that rely on msReturnQuery or in the mapserv.c file itself. Should be fixed before 4.0 is release since quite a few folks are looking forward to JOIN support... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #397 | Color problems when using raster symbols and 8 bits PNG | MapServer C Library | defect | 08/06/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We have noticed a problem with MapServer V4.0 when drawing raster symbols on a map and using 8 bits PNG output. Sometimes the color of the raster symbol will change. In our specific case, we were using a png symbol that contained red color. - If the rest of the map also contained some red elsewhere (in the roads layer for instance) then the symbol was displayed in red correctly - If there was no red color anywhere else in the map then the symbol was drawn in black instead of red. The above was happening when using 8 bits PNG output. Switching to 24 bits PNG or JPEG output resolves the issue. Sounds very much like a color table issue. Please keep in mind that this happens with raster symbols, not vector symbols. Unfortunately we don't have a simple reproduceable test case for this. If we can build one then we'll attach it. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #447 | MapServer crashes if LABELITEM does not exist | MapServer C Library | defect | 09/30/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This came up while creating a minimal map file to reproduce another bug.
Basically, if I have a label layer with an inline feature and a LABELITEM
which does not exist then MapServer crashes.
I am attaching a mapfile which should reproduce the problem using the command
"shp2img -m <mapfile> -o out.png". You will need to modify the font path to
a valid font list file with something resolving the "default" name.
The crash looks like:
(gdb) where
#0 0x080589d7 in msShapeGetAnnotation (layer=0x80d9124, shape=0xbfffd110)
at maputil.c:190
#1 0x0805fb45 in msDrawVectorLayer (map=0x416bf008, layer=0x80d9124,
image=0x810ff30) at mapdraw.c:659
#2 0x0805f751 in msDrawLayer (map=0x416bf008, layer=0x80d9124,
image=0x810ff30) at mapdraw.c:515
#3 0x0805edb1 in msDrawMap (map=0x416bf008) at mapdraw.c:269
#4 0x0804dc92 in main (argc=5, argv=0xbffff0a4) at shp2img.c:159
#5 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
Crashes on this line:
tmpstr = strdup(shape->values[layer->labelitemindex]);
layer->labelitemindex is 0, but shape->values is NULL since there are no
attributes on this inline feature.
I am not sure where the fix should be.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #460 | Query Efficiency | MapServer CGI | defect | 10/15/03 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1. Noone seems to know how the query (itemquery, itemnquery) mechanics actually work. Some investigation and documentation are needed. 2. The query method appears to be (a) do a query-by-rectangle (with filter) to get record#s, then (b) repeatedly request each feature by record number. In order for this to be efficient, it assumes a O(1) get-feature-by-record-number access. This isnt true for all layer types. Also, cacheing the results of the query-by-rectangle (with filter) isnt generally possible because the columns (items) havent been set yet in the layer object or by a call to LayerGetItems(). 3. Why is there a separate query/draw mechanism? Why doesnt mapserv just do a normal draw-type request (query-by-rectangle (with filter)), then use the normal getNextShape() functions? Its a maintainance issue to have each layer implement two basic functions (draw and query) when query could be seamlessly implemented by the draw mechanism. C.F. mailing list discussion with subject "Re: [Mapserver-dev] Re: [Mapserver-users] Mapscript drawQuery() on big PostGIS layers doesn't work properly ?" Daniel requested a bug report so this doesnt go away. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #472 | Clean up mapservObj member names... | MapServer CGI | 5.4 release | defect | 10/27/03 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
They are named unlike anything else in the code. There are a few vars in there that have very cryptic names (e.g. LRN). This would involve some changes to mapserv.c, mapserv_fcgi.c and maptemplate.c. I don't know how prevelant this object is in the scripting envs. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #571 | [WMS/WFS] Ability to specify a proxy for remote connections | MapServer Documentation | 5.2 release | defect | 02/18/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We need the ability to specify a proxy when connecting to remote WMS/WFS servers. This could possibly be added as layer metadata wms_proxy_*, but I wonder if we should instead create global configuration parameters inside the WEB object? I never really worked in environments with proxies, so I wonder if it is safe to assume that when someone uses a proxy, then they use it for *all* their http connections and not only to get to specific hosts? i.e. is it a good idea to have a single global proxy setting in the web object in the mapfile or should this be local at the layer level? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #629 | imageCacheObj keys need to be expanded | MapServer C Library | defect | 04/16/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The keys used to compare images stored in a symbolSetObj's image cache are not complete enough. At present only symbol, size and color are used. This will work in most cases, especially with lines which is where the cache is used now. However, symbol styles are more complex so most other attributes (e.g. outlinecolor) should be used. This will have to be the case if the cache is to be used with point markers. That's probably why the code is at it is... Steve |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #637 | variable substitution and order in cgi parameters | MapServer CGI | defect | 04/28/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Order in cgi parameters does matter. Bad: /cgi-bin/mapserv?map=/gis/mymap.map&mode=map&user=USER&map_mylayer_data=%25user%25%2Fmylayer.png Good: /cgi-bin/mapserv?map=/gis/mymap.map&mode=map&map_mylayer_data=%25user%25%2Fmylayer.png&user=USER The first URL fails because it can't find the data image. It is neede to pass "user=USER" as the last argument. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #656 | SRS Ignored in GetCoverage | WCS Server | 5.2 release | defect | 05/10/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
It seems that SRS is ignored in the GetCoverage, and the coverage is erroneously returned with the SRS of the map instead of the SRS of the layer on return. For instance: http://gdal.velocet.ca/cgi-bin/mswcs?REQUEST=GetCoverage&SERVICE=WCS&COVERAGE=TM&BBOX=448285, 4218488,463645,4233848&WIDTH=512&HEIGHT=512&FORMAT=GeoTIFF8&SRS=EPSG:32611 The layer is actually in EPSG 32611 (UTM 11 WGS84) but the result file is just WGS84 instead. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #710 | Scalefactor calculation logic not present in msDrawLayer function | MapServer C Library | defect | 06/02/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The logic for calculating a layer's scalefactor is present in the msDrawMap
function in the file mapdraw.c but not in the msDrawLayer function. This is a
particular problem when using the mapscript API and the
$layerObj->draw($imageObj) functionality in conjunction with a layer's SIZEUNITS
or SYMBOLSCALE properties. The result in such a case is that msDrawMap (and the
scaling logic) is bypassed and symbols are not scaled.
The problem is further described in the submitted URL.
Our solution was to move the scalefactor calculation logic:
for(i=0;i<map->numlayers; i++) {
if(map->layers[i].sizeunits != MS_PIXELS)
map->layers[i].scalefactor = (msInchesPerUnit(map->layers[i].sizeunits,
0)/msInchesPerUnit(map->units,0)) / map->cellsize;
else if(map->layers[i].symbolscale > 0 && map->scale > 0)
map->layers[i].scalefactor = map->layers[i].symbolscale/map->scale;
else
map->layers[i].scalefactor = 1;
}
down to the top of the msDrawLayer function:
if(layer->sizeunits != MS_PIXELS)
layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)
/msInchesPerUnit(map->units,0)) / map->cellsize;
else if(layer->symbolscale > 0 && map->scale > 0)
layer->scalefactor = layer->symbolscale/map->scale;
else
layer->scalefactor = 1;
The result is that symbols are scaled correctly if layers are drawn
individually. This logic, however, is now missing from the other layer drawing
functions:
msDrawWMSLayerLow
msDrawWMSLayerSWF
msDrawWMSLayerPDF
This bug is also present in version 4.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #817 | Use of hex value with CHARACTER keyword | MapServer C Library | 5.2 release | defect | 08/12/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
It has been reported that when defining a symbol using a truetype font, it is possible to use either the character (such as CHARACTER "?") or the number (such as CHARACTER "?"), but it's not possible to use a hex value for the number. We could use the form "?" for that, as described in the HTML 4.01 spec: http://www.w3.org/TR/html401/charset.html#entities Would it be much work to add that to the parser? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #828 | MapScript hangs when using MAXINTERVAL in a grid | MapServer C Library | 5.4 release | defect | 08/25/04 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This layer works, but MapScript hangs when I uncomment MAXINTERVAL:
LAYER
NAME "Grid"
PROJECTION
"init=epsg:28992"
END
METADATA
WMS_TITLE "Graticule"
END
TYPE LINE
STATUS on
CLASS
COLOR 128 128 128
LABEL
TYPE truetype
FONT arial
SIZE 7
COLOR 0 0 0
PARTIALS FALSE
END
END
GRID
LABELFORMAT "%5.0f"
MAXARCS 10
# MAXINTERVAL 10
MAXSUBDIVIDE 2
END
END
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #849 | Can't label circles. | MapServer C Library | defect | 09/03/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There's a TODO comment in msDrawShape in mapdraw.c about adding labeling for circles. Just don't want to forget to do it! Steve |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #937 | invalid extents loading mapfile | MapServer C Library | defect | 10/06/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
when loading a mapfile using ms_newMapFile, the following error is generated if the extents are not in the form minx < maxx && miny < maxy Given web extent is invalid. I have two problems with this: 1. the error message sucks. What is a web extent anyway? Looking in loadMapInternal, it is obvious ... but to an end user? 2. the behaviour has changed from 4.2, which would load this properly by swapping the maxy for miny. Request the error message be changed to something meaningful like: "Extents specified (<minx> <miny> <maxx> <maxy>) are invalid because miny > maxy or minx > maxx." Also request that the behaviour change back to the previous one where the extents would be automagically corrected. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1131 | Modernize mapgd.c to use newer GD functions. | MapServer C Library | defect | 12/14/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The code in mapgd.c is based on GD 1.2 and does not take advantage of many newer (2.0) functions like gdImageArcFilled or gdImageArcFilled. It really should. Steve |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1147 | symbol sizes wrong in legend | MapServer CGI | defect | 12/22/04 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have the following layer to define a 4 kilometers cross:
LAYER
...
SIZEUNITS meters
CLASS
SYMBOL "cross"
SIZE 4000
COLOR 0 0 0
END
END
When i get the legend of this layer (mapserver?mode=legend) i get an ugly legend
because the size of symbol "+" is too big.
If i try:
LAYER
...
SIZEUNITS kilometers
CLASS
SYMBOL "cross"
SIZE 4
COLOR 0 0 0
END
END
I get very small symbols on the legend.
How can i do to get symbols the right size?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1376 | symbols out of whack | MapServer C Library | defect | 06/08/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With the addition of MINWIDTH and MAXWIDTH parameters for symbols, 'circle' symbols of traditional definition go awry when SYMBOLSCALE is set. I think you were going to throw in a couple of lines setting defaults for those params so that default behavior would stay the same as previous versions. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1383 | Truetype font text not wrapping when using WRAP command | MapServer C Library | defect | 06/17/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Using the WRAP command inside a mapfile to specify which symbol a text string
will wrap on truetype fonts doesn't seem to work. Using bitmap fonts seems to
work fine. Here is a sample mapfile layer:
LAYER
NAME "Copyright"
METADATA
"wms_title" "Copyright"
"wms_srs" "EPSG:27700"
"wms_extent" "0.0 0.0 700000.0 1300000.0"
END
STATUS DEFAULT
TRANSFORM FALSE
TYPE ANNOTATION
POSTLABELCACHE TRUE
FEATURE
POINTS
2 5
END
TEXT '© Crown copyright/database right 2004.|An Ordnance
Survey/EDINA supplied service.'
END
CLASS
STYLE
SYMBOL "copy_box_os"
COLOR 255 255 255
SIZE 30
END
LABEL
BACKGROUNDCOLOR 0 255 255
COLOR 0 0 0
#OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT arial
SIZE 7
ANTIALIAS TRUE
PARTIALS TRUE
POSITION CR
WRAP "|"
END
END
MINSCALE 1000.0
MAXSCALE 25000.0
PROJECTION
"init=epsg:27700"
END
END # End copyright
In the above example, the text string displayed on the map should be:
© Crown copyright/database right 2004.
An Ordnance Survey/EDINA supplied service.
But this is displayed instead:
© Crown copyright/database right 2004.|An Ordnance Survey/EDINA supplied service.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1514 | use everywhere the layerorder parameter in the map | MapServer C Library | defect | 11/01/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
We should look at all places where there is a for-loop for layers and make sure layerorder is being used. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1579 | expression not evaluated for query | MapServer CGI | defect | 12/16/05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hallo!
It seems to me that the expression for classification of a layer is not
evaluated for queryByRect or queryByPoint. See the following (constructed) case:
I have one shapefile with the values "A" and "B" for the attribute "type" and an
layer that shows only those of type=A (defined with CLASSITEM = type and an
EXPRESSION in the corresponding CLASS).
Querying the second layer leeds to results even containing shapes with type=B.
This holds true for PHP/mapscript but also for a query by a WMS
GetFeatureInfo-Request.
I scanned the source code of mapserver 4.6 (the version I am working with) as
well as of version 4.8-beta2. In both cases I couldn't find any place where the
evaluation of the expression is done during a query. I also had a look an the
bug-tracker an the mailinglist archives but couldn't find any hint.
Have I overseen something?
Silke
P.S.: If necessary I can construct a test case which fails with the current
version.
P.P.S.:
For the case that I have overseen something, here my full example of layer
definition:
# Landesmessnetz Menge
LAYER
DATA "/usr/local/httpd/gwmessnetz/data/messstellen/messstellen"
NAME netz_menge
METADATA
"DESCRIPTION" "Landesmessnetz Menge"
"RESULT_FIELDS" "invname, mkz, longname, brgort, tk25, arnum, bo_ident,
projekt, auftrag, kommentar, bohrfirma, brgzweck, bohrz_von, bohrz_bis,
bohrverf, xcoord, ycoord, xcoordo, ycoordo, zcoorde, zcoordb, invmbeg, invzbeg,
invzend, strat, mesartmvp, foto, bewertung, bohrprofil"
"RESULT_HEADERS" "Messstellenname, Messstellenkennzahl, Bohrungsname,
Bohrungsort, TK25, Archiv-Nummer, Bohrarchiv-Ident, Projekt, Auftraggeber,
Kommentar, Bohrfirma, Bohrungszweck, Bohrzeit von, Bohrzeit bis, Bohrverfahren,
Rechtswert, Hochwert, Original-Rechtswert, Original-Hochwert, Endteufe, Höhe zu
NN (GOK), Messpunkthöhe zu NN (ROK), Filtertiefe von, Filtertiefe bis,
Stratigrafie, Messstellenart, Foto, Bewertung, Bohrprofil"
END
SIZEUNITS PIXELS
STATUS OFF
TOLERANCE 10
TOLERANCEUNITS PIXELS
TEMPLATE void
TYPE POINT
UNITS METERS
MINSCALE 1000
MAXSCALE 1500001
SYMBOLSCALE 100000
CLASSITEM mesartmvp
CLASS
NAME "Messstellen"
EXPRESSION /,M/
STYLE
COLOR 0 0 255 # blau
MAXSIZE 20
MINSIZE 6
OUTLINECOLOR 0 0 0 # schwarz
SIZE 12
SYMBOL "circle"
END
END
END # Landesmessnetz Menge
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1613 | segmentation fault in mapimagemap.c when creating large imagemaps | MapServer C Library | defect | 01/15/06 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mapserver crashes (segmentation fault) when using the imagemap driver to generate a large HTML map. This bug is caused by a buffer overflow in the vsprintf function in mapimagemap.c. The function im_iprintf is used to concat a string and increase the allocated buffersize if the remaining size is too small. The buffersize is checked by using the return value of the vsnprintf. This can not be checked by using the return value of the vsprintf function. On 2004/11/23 17:09:05 Revision 1.19, Frank added a compiler check on vsnprintf before using it. If HAVE_VSNPRINTF is undefined (why is it undefined?) the vsprintf function will be used. This causes a buffer overflow when the generated HTML is larger then the buffer size. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1631 | label offset should be dependent on symbolscale | MapServer C Library | defect | 01/29/06 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
When drawing the map label offset should behave similar to label size that is: it should vary depending on the current scale if symbolscale is set. Without supporting this the location of the labels relative to the other features may vary unexpectedly. Tamas |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1636 | RFC 9 - Template item tag support. | MapServer Documentation | 5.2 release | defect | 01/31/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Base bug for RFC 9, creation of an item tag for better control of attribute formatting. Steve |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #1751 | OVERLAYSYMBOL not draw on mapserver 4.8 ; used to work on 4.6 | MapServer C Library | defect | 04/18/06 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I have (among others) the definitions pasted below on my mapfile. I run an application with mapscript on it, On mapserver 4.6, the layer's overlaysymbol draws as expected, but on 4.8 only symbol is drawn. MAP NAME MAPA STATUS ON SIZE 539 378 EXTENT -69 -34 -33 6 SHAPEPATH "/var/mapdata/shape" IMAGECOLOR 255 255 204 # 239 255 214 UNITS DD IMAGETYPE PNG SYMBOLSET "/var/mapdata/simbolos.sym" FONTSET "/var/mapdata/fonts.list" QUERYMAP STATUS ON STYLE HILITE COLOR 255 0 0 END REFERENCE IMAGE images/brasil_ref.png EXTENT -69 -34 -33 6 SIZE 120 100 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 0 0 0 END LEGEND KEYSIZE 20 15 LABEL FONT "arial" TYPE TRUETYPE SIZE 10 COLOR 0 0 0 END INTERLACE OFF TRANSPARENT ON STATUS ON END SCALEBAR COLOR 0 255 153 IMAGECOLOR 250 250 250 LABEL COLOR 255 64 0 SIZE TINY END | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
