Re: [mapserver-users] PostGIS problems in nightly

2008-05-11 Thread Havard Tveite
Sorry for not testing more, Steve. Answers to your questions below. Stephen Woodbridge wrote: Håvard, Try: trim(both from direction) works which does the same thing as: trim(both ' ' from direction) this looks like it might be an unescaped ' and in single quotes string. you could also

Re: [mapserver-users] Pattern

2008-05-11 Thread Havard Tveite
Giacomo Sacchetti wrote: Hi all, how I can create dashed HATCH symbols? There are just few lines of documentation for the HATCH symbol... I don't think you can accomplish this using HATCH, but you can make such a symbol using VECTOR or PIXMAP. Håvard -- Håvard Tveite Department of

Re: [mapserver-users] How to display vector symbols (direction and magnitude) in MapServer?

2008-08-19 Thread Havard Tveite
I don't think ANGLE can be used in your case (if you do not use scripting to calculate the ANGLEs yourself for each generated map). Is there a need for a new TAG - for instance with the name ORIENTATION, that could be used to specify compass directions (0=north, 90=east, 180=south, 270=west) for

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-30 Thread Havard Tveite
Precise symbol placement is among the issues that are being addressed in RFC45 (Symbology, Labeling, and Cartography Improvements) URL: http://mapserver.osgeo.org/development/rfc/ms-rfc-45.html In RFC45, a new tag called CENTER or ORIGIN is proposed. ANCHORPOINT is perhaps a better name for it.

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-05 Thread Havard Tveite
Donald Kerr wrote: In a previous thread that I started about positioning of LABELs, Thomas Bonfort said, I'd be in favor of having a way to specify the anchor point, either by fixing it on 0,0 , or by specifying it alongside the symbol, eg ANCHORPOINT 0.3 2. I agree that this would be good for

Re: [mapserver-users] Scaling Image Symbol Offset

2009-07-17 Thread Havard Tveite
RFC 45 suggests several rendering improvements for Mapserver, including adding a tag (CENTER/ORIGIN) for specifying the centre of a symbol. This feature has, however, not been given priority yet (there are workarounds for the most important cases).

Re: [mapserver-users] Scaling Image Symbol Offset

2009-08-14 Thread Havard Tveite
Dear Steve, Is this another case for allowing the user to explicitly specify the centre of a symbol (as proposed in RFC 45 - http://mapserver.org/development/rfc/ms-rfc-45.html)? Håvard Steve Lime wrote: Hi David: There is no connection between offset and symbol size. The offset is

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-13 Thread Havard Tveite
Dear Oliver Christen, Using Mapserver 5.6.0 and AGG rendering, you can achieve what you want by using a combination of ellipse size and gap size in the symbol definition. There is something strange in the calculations (a gap of about half the ellipse size seems to produce touching symbols), so

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-14 Thread Havard Tveite
Oliver Christen wrote: Thank you Håvard I see you have changed points 1 1 end by points 8 8 end. Tell me if im wrong, but these values are only used to render the proportions of the elipse but not it's size, is that correct? so if I understand correctly, using larger values for the elipse

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-14 Thread Havard Tveite
Oliver Christen wrote: mmm, then whats the difference between points 1 1 end and points 8 8 end ? For an ELLIPSE symbol definition without GAP, there is no difference. The bounding box of the symbol will be used when rendering the symbol. The height of the symbol bounding box on the map will

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-14 Thread Havard Tveite
If Thomas B. agrees, I think it would be reasonable to also open a bug on the gap calculation. In my opinion, since the word gap is used, the correct way to specify a symbol with ellipses that has the same gap between them as the diameter of the ellipses should be as follows: symbol name dots

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-14 Thread Havard Tveite
). Something seems to be wrong when the GAP is close to half the diameter specified in POINTS - some of the gaps will be as expected, while others are larger (closer to the actual number specified in GAP). Håvard -Steve W Havard Tveite wrote: If Thomas B. agrees, I think it would be reasonable

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-15 Thread Havard Tveite
, while others are larger (closer to the actual number specified in GAP). Håvard -Steve W Havard Tveite wrote: If Thomas B. agrees, I think it would be reasonable to also open a bug on the gap calculation. In my opinion, since the word gap is used, the correct way to specify a symbol

Re: [mapserver-users] vertical alignment of symbols along a line

2010-02-23 Thread Havard Tveite
Perhaps you could use OFFSET (with -99) - I have not tried it. See: http://mapserver.org/mapfile/symbology/construction.html A general mechanism (CENTER/ORIGIN) for defining the centre point of a symbol for more control of the precise placement of symbols was suggested in RFC 45

Re: [mapserver-users] Mapserver graduated symbols

2011-05-17 Thread Havard Tveite
The LAYER- CLASS- STYLE- SIZE parameter can specify an attribute of the data set, so this should be possible. URL: http://mapserver.org/mapfile/style.html Håvard On 17/05/11 13:21, jude mwenda wrote: Hi, is this possible using mapserver and openlayers? where the values used are based on

Re: [mapserver-users] European Weather Data WMS

2011-05-27 Thread Havard Tveite
For northern Europe you can check: http://openmetoc.met.no/about.html Håvard Tveite On 27/05/11 18:45, Matt Miller wrote: Does anyone know of a source of weather data in WMS format for Europe and parts of North African and the middle east? I am using

Re: [mapserver-users] Is it posible to substitute a value from table for width of line

2011-06-01 Thread Havard Tveite
According to URL: http://www.mapserver.org/mapfile/style.html that should be possible. Håvard On 6/1/2011 8:09 AM, prab.raja wrote: Hi, I would like to know if it's posible to draw line layer with variable width from database table. Something like this? LAYER NAME line_layer

Re: [mapserver-users] Where is the use of map_resolution documented?

2011-06-14 Thread Havard Tveite
Dear Jukka, It is in RFC55 and mentioned in the symbol construction document, but it should of course be documented with MAP. If this is not to be kept a secret, I think a documentation ticket would be a good idea. Håvard On 6/14/2011 1:51 PM, Rahkonen Jukka wrote: Hi, I know more or less

Re: [mapserver-users] Difference in test map behavior from MapServer 5.6.5 to 6.0.1

2011-07-14 Thread Havard Tveite
On 14/07/11 22:35, Nicolas Chenier wrote: Good day all, This is a bump as I never received an answer... Quick update - I updated my binary to 6.0.1 but this issue remains: I am investigating an issue where the background in the PNG generated by the example map that comes with MapServer changes

Re: [mapserver-users] problem with Symbol and Style

2011-08-27 Thread Havard Tveite
Valeria, To display simple lines (in the latest versions of Mapserver), you should take away the SYMBOL from the STYLE, and specify the WIDTH of the line (not the SIZE). You can skip ANTIALIAS (you can't even turn it off for AGG). STYLE WIDTH 12 COLOR 200 112 64 END STYLE WIDTH 10 COLOR

Re: [mapserver-users] Re: Dashed outline for polygon (migration to 6.0)

2011-08-29 Thread Havard Tveite
The following should work with AGG (don't use SYMBOL): ODTOKLINIE_NEJ ### LAYER . . . . CLASS NAME odtoková linie nejdelší (červená) STYLE OUTLINECOLOR 255 255 0 WIDTH 2 PATTERN

Re: [mapserver-users] problem with Symbol and Style

2011-08-29 Thread Havard Tveite
The example I provided should give you an outline (color 200 112 64). Håvard On 8/28/2011 8:30 PM, Valeria Munoz I wrote: Can i display a outliner? Thanks for the reply!! Enviado desde mi iPhone El 27-08-2011, a las 17:44, Havard Tveitehavard.tve...@umb.no escribió: Valeria, To display

Re: [mapserver-users] Re: Dashed outline for polygon (migration to 6.0)

2011-08-30 Thread Havard Tveite
Interesting. I am sure that a bug report would be appreciated. Do you think you could create an example that demonstrates the problem? Håvard On 8/29/2011 5:03 PM, Mark Deneen wrote: We had an issue where, depending on your projection, the dashed lines would only show up further north. As

Re: [mapserver-users] WFS Typename behavior

2011-09-22 Thread Havard Tveite
I think that you have to use only one Typename per WFS request. Håvard On 9/20/2011 8:09 PM, Hawk AA wrote: Hi, It seems for me that by entering multiple layers in Typename, I am not getting the same results. For instance would using Typename=Traseer give me all of the geometries in the

Re: [mapserver-users] Abandoned railroad symbol

2011-09-26 Thread Havard Tveite
Dear Bob, Mapserver does not allow sensible styling of dashed lines with for instance point symbols. To be able to do this, a new mechanism will have to be introduced (for instance INITIALGAP, as used in the SLD specification). This is what Mapserver ticket #3879 suggests.

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-27 Thread Havard Tveite
Have you seen: http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol Håvard Tveite On 9/27/2011 4:12 AM, Puneet Kishor wrote: My arrows look like so instead of with declarations like so SYMBOL NAME vert-line TYPE

Re: [mapserver-users] WFS Typename behavior

2011-09-27 Thread Havard Tveite
. If maxFeatures is not reached then the result should be the same as when making two separate getFeatures for Traseer and Punkter. Otherwise it looks like a bug. -Jukka Rahkonen- Havard Tveite wrote: Lähetetty: 22. syyskuuta 2011 9:26 I think that you have to use only one Typename per WFS

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Havard Tveite
GEOMTRANSFORM end only works for the lines of a line layer. Is your layer a line layer? Håvard On 9/27/2011 4:48 PM, Puneet Kishor wrote: On Sep 27, 2011, at 2:18 AM, Havard Tveite wrote: Have you seen: http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point

Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-28 Thread Havard Tveite
/27/2011 4:48 PM, Puneet Kishor wrote: On Sep 27, 2011, at 2:18 AM, Havard Tveite wrote: Have you seen: http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol Yup, seen and read it from end to end until my eyes glazed. Perhaps it is clear as crystal

Re: [mapserver-users] Need help with Expression

2011-09-30 Thread Havard Tveite
Have you seen: http://www.mapserver.org/mapfile/expressions.html Feedback on the contents of that page would be appreciated. Håvard On 9/30/2011 3:51 PM, Bistrais, Bob wrote: I’m trying to create an Expression to select features in a Class, MapServer 6.0.1. I want to do something such as a

Re: [mapserver-users] Need help with Expression

2011-09-30 Thread Havard Tveite
Thanks, the example has been added. Good idea to show also this alternative (it was only mentioned in the introduction to the regexp section). Håvard On 30/09/11 16:34, Stephen Woodbridge wrote: On 9/30/2011 10:30 AM, Havard Tveite wrote: Have you seen: http://www.mapserver.org/mapfile

Re: [mapserver-users] arrow head doesn't draw at the end

2011-11-03 Thread Havard Tveite
. But this part of the RFC has not yet been implemented. Håvard On 9/27/2011 4:48 PM, Puneet Kishor wrote: On Sep 27, 2011, at 2:18 AM, Havard Tveite wrote: Have you seen: http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol Yup, seen and read

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-10 Thread Havard Tveite
Dear Jackey Cheung, I am not sure what exactly you are trying to achieve. Your arrows seem to point in the direction of the lines. The topmost arrow in figure 1 is placed at a strange position - is that the problem? Some comments: The result shown in image 2 is expected. The arrow symbols are

Re: [mapserver-users] Does MapServer, as a client, support WMS 1.3.0?

2011-11-18 Thread Havard Tveite
Jukka, I have updated the documentation according to your comments. I have also filed (and closed) a ticket (#4088). If you (or anyone else) find other issues with the documentation, please don't hesitate to file tickets (with proposed solutions, if possible :-) ).

Re: [mapserver-users] symbol repetition

2011-11-25 Thread Havard Tveite
I think you have to do this in Mapscript. You could create a new line layer where each line is cropped so that its length is proportional to the number of symbols you want. Then you can style the lines in this new layer using SYMBOL and GAP (negative number to make the direction of the symbols

Re: [mapserver-users] Doubt about MapServer projections and WMS

2011-11-28 Thread Havard Tveite
Hello Jorge, Your interpretation of the documentation seems correct. Regarding the need for a PROJECTION object at the MAP level: Without it, Mapserver will generate an error message. I agree with you that for a WMS service it seems illogical to have to provide a PROJECTION element at the MAP

Re: VS: [mapserver-users] Re: WCS Geotiff output issue

2011-11-28 Thread Havard Tveite
Hi Guillaume, You seem to have discovered a Mapserver bug. It would be very nice if you could take the trouble to report it (so that it can be addressed / fixed). http://trac.osgeo.org/mapserver/newticket (everyone can create tickets, you just need to log in - if you do not have an account, it

Re: VS: [mapserver-users] Re: WCS Geotiff output issue

2011-11-28 Thread Havard Tveite
? It might help to find the bug more easily. Guillaume Loiselle 2011/11/28 Havard Tveite havard.tve...@umb.no mailto:havard.tve...@umb.no Hi Guillaume, You seem to have discovered a Mapserver bug. It would be very nice if you could take the trouble to report it (so that it can

Re: [mapserver-users] Re: Mapserver 6.0.1 -- Label Class not recognizing token BACKGROUNDCOLOR

2011-12-01 Thread Havard Tveite
Thanks, Thomas. I changed it to: labelpnt generates the point relative to which the label will be placed. Better? Håvard On 12/1/2011 8:58 AM, thomas bonfort wrote: Havard, labelpnt generates a point with its center at the middle of the bounding rectangle of the text. Unless there's a

Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-12-12 Thread Havard Tveite
I have been able to reproduce this problem with trunk. It seems to occur for gap lengths that are longer than the length of the line. In that case, the arrows are rendered for each line segment from the middle of the line to the end of the line. Slightly different behaviour for 6.0 and trunk.

Re: [mapserver-users] Order of attributes returned from WFS GetFeature

2011-12-29 Thread Havard Tveite
I think your subselect has to include gid. Examples on: URL: http://mapserver.org/input/vector/postgis.html#data-access-connection-method Håvard On 12/29/2011 12:19 PM, Dejan Gambin wrote: Thanks, I tried something like: DATA the_geom from (select the_geom, attr1, attr2 from table) as

Re: [mapserver-users] SLD filters in MS6

2012-01-13 Thread Havard Tveite
This might be related to ticket #4112. http://trac.osgeo.org/mapserver/ticket/4112 Håvard On 13/01/12 11:51, knut.landm...@ffi.no wrote: Hi all, I want to do attribute dependent rendering using SLD with filters inside the Rule element, but cannot get it to work properly with MapServer 6.0.1

Re: [mapserver-users] getSymbol (): Symbol definition error.

2012-01-26 Thread Havard Tveite
The type cartoline for symbols is no longer used. Dashed lines and styling are specified in LAYER-CLASS-STYLE. Some examples: http://mapserver.org/mapfile/symbology/construction.html#use-of-the-pattern-and-gap-parameters Håvard On 1/26/2012 1:03 PM, Francesc Cañas wrote: Hello, I want to

Re: [mapserver-users] WMS image size issue

2012-02-15 Thread Havard Tveite
Your WMS seems to work fine for me in QGIS 1.7.3. I tried the layer MS. Håvard On 2/15/2012 2:09 PM, Raffaele Morelli wrote: Hi, (sorry for double posting but I forgot the subject in the previous email) I am working on a wms server and no matter how I try increasing MAXSIZE value I always

Re: [mapserver-users] Problem with patttern and GAP

2012-03-28 Thread Havard Tveite
You can't do this with Mapserver 5.6.6. You will need INITIALGAP, which is introduced in Mapserver 6.2. http://www.mapserver.org/trunk/mapfile/style.html http://www.mapserver.org/trunk/mapfile/symbology/construction.html#use-of-the-pattern-and-gap-parameters If you want to test this, you can

Re: [mapserver-users] Re: pdf vector output in 6.02

2012-04-23 Thread Havard Tveite
Seems to work here. I get vector PDF output using 6.0.2 on Debian. Håvard On 4/23/2012 9:17 AM, Rahkonen Jukka wrote: Hi, PDF output works for me on Windows (MS4W) but I seem to have problems with Linux and Mapserver 6.0.1 also. This one gives HTTP 500 Internal error message and on the

Re: [mapserver-users] Border style of polygon

2012-05-29 Thread Havard Tveite
You could try OFFSET - see http://mapserver.org/mapfile/style.html For lines, an OFFSET of n -99 will produce a line geometry that is shifted n SIZEUNITS perpendicular to the original line geometry. A positive n shifts the line to the right when seen along the direction of the line. A negative n

Re: [mapserver-users] Positioning of point symbols

2012-06-06 Thread Havard Tveite
ANCHORPOINT is coming in 6.2. See: http://www.mapserver.org/trunk/mapfile/symbol.html Håvard On 6/6/2012 2:37 PM, Jason Jackson wrote: I am using mapserver 5.6.7 and it appears that when using a pixmap symbol to represent a point geometry on the map, the image is placed with its center on the

Re: [mapserver-users] still have problem when add postgis layer on mapserver mapfile

2012-08-26 Thread Havard Tveite
In later versions of Mapserver, you seem to need to use a symbol. For example: SYMBOL NAME circle TYPE ellipse POINTS 1 1 END END LAYER ... CLASS NAME places1_color STYLE SYMBOL 'circle' COLOR 255 215 0 SIZE 1 END #

Re: [mapserver-users] MapServer 6.2.0 beta2 release

2012-09-27 Thread Havard Tveite
The behaviour of the GAP parameter has changed - before 6.2, it specified some variation of the distance between the bounding boxes of the symbols. In 6.2 it specifies the centre to centre distance between the symbols. This change is described in the migration guide for 6.2, which I can not

Re: [mapserver-users] Dashed line - compatible with 5.6 and 6.0

2012-10-03 Thread Havard Tveite
You are right, PATTERN was moved from SYMBOL to STYLE. See the migration guide: http://mapserver.org/MIGRATION_GUIDE.html I don't think it is possible to have a map file that serves both versions. Håvard On 10/03/2012 11:48 PM, Ian Walberg wrote: Folks, We cannot create a map file which

Re: [mapserver-users] How do you display a symbol with two colours?

2012-10-10 Thread Havard Tveite
If you have moved to 6.2, you can consider using ANCHORPOINT http://mapserver.org/trunk/en/mapfile/symbol.html On earlier verions you could try the approach suggested in http://mapserver.org/trunk/en/mapfile/symbology/construction.html#tricks But that is kind of similar to what you have tried

Re: [mapserver-users] More Labels on a layer

2012-10-31 Thread Havard Tveite
Regards, 2012/10/30 Havard Tveite havard.tve...@umb.no mailto:havard.tve...@umb.no Dear Steve, FYI, I have now documented the possibility for multiple labels in a class (updated the class document in master). Håvard On 10/30/2012 3:37 PM, Andrea Peri wrote: Hi

Re: [mapserver-users] Adding an WMS Layer example

2012-11-04 Thread Havard Tveite
Have you checked the WMS Client documentation page? http://mapserver.org/en/ogc/wms_client.html There is an example of a WMS layer there that looks OK. Håvard On 11/5/2012 7:15 AM, Murad Jamal wrote: Hello I am having trouble adding an WMS layer in map files. Can anybody please send me an

Re: [mapserver-users] Problem with ANGLE FOLLOW

2012-12-03 Thread Havard Tveite
I have updated the documentation for 6.2 by including a reference to MAXOVERLAPANGLE in the description of ANGLE FOLLOW. Håvard On 12/3/2012 3:35 PM, Olivier Courtin wrote: Hi, For same kind of need (i.e hydrologic line to label), i've found that: - Your lines must be long enough to allow

Re: [mapserver-users] RE RE PROCESSING CHART_SIZE_RANGE vaariable substition SOLVED

2013-01-10 Thread Havard Tveite
I have added PROCESSING CHART_SIZE_RANGE = itemname as an alternative use in the dynamic charting document. Håvard On 1/9/2013 5:25 PM, steve.tout...@inspq.qc.ca wrote: I didn't find a way to modify the processing statement but in this trac http://trac.osgeo.org/mapserver/ticket/2136 It

Re: [mapserver-users] tips to draw a symbol‏

2013-02-26 Thread Havard Tveite
Dear Gary, The v-poly symbol should be OK (I just tested it with 6.2 and 5.6.6). If you want an open V, you should use only outlinecolor: STYLE SYMBOL v-poly SIZE 30 OUTLINECOLOR 0 255 0 END # STYLE Håvard On 2/26/2013 12:36 AM, Gery wrote: Hello folks,

Re: [mapserver-users] tips to draw a symbol‏

2013-02-27 Thread Havard Tveite
Creating vector symbols: Unless you have a formulae, you will have to measure. In 6.2, precise placement of symbols is easy using SYMBOL ANCHORPOINT. It is therefore possible to split a complex symbol into more manageable parts (for instance some parts using lines and some parts using

Re: [mapserver-users] tips to draw a symbol‏

2013-02-28 Thread Havard Tveite
ANCHORPOINT was introduced in 6.2. Mapserver does not care about the units of measure, so you can use what is most convenient for you. Instead of measuring manually, you could digitize with your favourite digitizing software and extract the numbers from the resulting digital representation.

Re: [mapserver-users] [mapserver-dev] Announcing MapServer 6.2.1

2013-04-20 Thread Havard Tveite
There was a typo in the change log link. This one is correct: http://mapserver.org/development/changelog/changelog-6-2-1.html Håvard On 04/20/2013 06:53 AM, Lime, Steve D (MNIT) wrote: The MapServer Team is pleased to announce version 6.2.1. This is a maintenance release that addresses some

Re: [mapserver-users] Apply a label on a corner of rectangles

2013-05-16 Thread Havard Tveite
I am not sure where the Upper left corner would be for a rotated rectangle, but if you have a criterion for it, a lot can be done with PostGIS (if that is your data source). Mapscript might also be an option. Håvard On 5/15/2013 7:21 PM, thomas bonfort wrote: No, I don't think this is possible

Re: [mapserver-users] overlaysymbol depreciated?

2013-08-29 Thread Havard Tveite
Both SYMBOL 0 + SIZE 1 and WIDTH 1 should work, but why don't you want to use WIDTH? WIDTH is now the recommended way of specifying the width of lines. It is also used in http://mapserver.org/mapfile/symbology/construction.html Håvard On 8/28/2013 4:29 PM, andy wrote: It still draw's

Re: [mapserver-users] Orientation of vector symbols on a LINE

2013-08-29 Thread Havard Tveite
The implementation of GAP has been fixed (center to center distance between symbols), and so has the calculation of symbol height. I guess that the following should work: STYLE SYMBOL wavy_line WIDTH 1 SIZE 2 GAP -6 COLOR 0 0 0 END Since you have y values from -1 to 1, and x values

Re: [mapserver-users] Usage: PROCESSING FORCE_DRAW_LABEL_CACHE=FLUSH

2015-10-27 Thread Havard Tveite
It would be useful if someone (preferably a developer ...) could file a documentation issue for this (and issues for other enhancements that have not yet been documented). http://github.org/mapserver/docs Håvard On 26/10/2015 22:54:PM, lars.schylb...@blixtmail.se wrote: Since I mentioned the

Re: [mapserver-users] Documentation index missing on mapserver.org (Was: Re: Search in MapServer.org does not work)

2015-10-20 Thread Havard Tveite
I get one error on this file. Y. On Tuesday, October 20, 2015 10:05:30 Jeff McKenna wrote: Thanks for pushing this Håvard, I'll dive in... -jeff On 2015-10-20 9:57 AM, Havard Tveite wrote: Another similar(?) issue with mapserver.org: Some time ago, the documentation index disappeared from map

[mapserver-users] Documentation index missing on mapserver.org (Was: Re: Search in MapServer.org does not work)

2015-10-20 Thread Havard Tveite
Another similar(?) issue with mapserver.org: Some time ago, the documentation index disappeared from mapserver.org together with the blue navigation line near the top of the page. Could that be a similar issue, Jeff? When compiling the docs locally the blue navigation line below the

Re: [mapserver-users] S57 Marine Charts on mapserver?

2015-12-21 Thread Havard Tveite
S57 is supported in Mapserver through OGR: http://mapserver.org/input/vector/S57.html I guess it should be possible to implement S52 using Mapserver's quite powerful symbol mechanisms. But I don't know if has been done before. Håvard On 22. des. 2015 04:34, AuroraGH wrote: NOAA provides free

Re: [mapserver-users] couldn't make my arrows symbols parallel to the lines

2016-09-05 Thread Havard Tveite
Try a negative GAP value. http://mapserver.org/mapfile/style.html: GAP "For lines, a negative GAP value will cause the symbols’ X axis to be aligned relative to the tangent of the line." Håvard On 05. sep. 2016 14:49, Ahmet Temiz wrote: Hi, I have line layer. I couldn't make my arrows

Re: [mapserver-users] line layer with arrows

2016-09-01 Thread Havard Tveite
Depending on your lines and how you want to arrange your arrows along the lines, you could try GAP with OFFSET or ANCHORPOINT. INITIALGAP and GEOMTRANSFORM might also be useful. See http://mapserver.org/mapfile/symbology/construction.html Håvard On 1/9/2016 10:06, Ahmet Temiz wrote: Hi,

Re: [mapserver-users] using MINSIZE and MAXSIZE with ANCHORPOINT

2016-10-06 Thread Havard Tveite
Hi, I can't see any mistakes. I tried to test this on with 6.4.2 and 7.0.1 (sorry I have not installed 7.0.2 yet), and am not able to reproduce the behaviour that you describe. ANCHORPOINT seems to work as expected. Which Mapserver version are you using? I have run it using shp2img -m I

Re: [mapserver-users] confused on styling polygon

2016-11-08 Thread Havard Tveite
According to the STYLE-> WIDTH documentation, for POLYGON symbols (filled symbols of type vector) WIDTH refers to the width of the outline of the symbol: "If used with SYMBOL and OUTLINECOLOR, WIDTH specifies the width of the symbol outlines. This applies to SYMBOL TYPE vector (polygons),

Re: [mapserver-users] About the WFS 2.0 stored query example

2016-12-21 Thread Havard Tveite
I have added a doc issue (https://github.com/mapserver/docs/issues/163) Håvard On 21. des. 2016 12:36, Rahkonen Jukka (MML) wrote: Hi, For making Mapserver to accept the definition of the stored query from a saved XML file I had to add xml header line http://www.w3.org/2001/XMLSchema;

Re: [mapserver-users] International Fonts - OSM Data

2017-08-10 Thread Havard Tveite
Thanks for reporting, Thomas. I have added a documentation issue for RFC98. Håvard On 10. aug. 2017 09:28, thomas bonfort wrote: Dave, The Noto font aims at resolving this issue: https://www.google.com/get/noto/ Aside from that mapserver supports language specific fonts. This needs

Re: [mapserver-users] map server error message loadSymbol(): Unknown identifier. Parsing error near (GAP):(line33)

2017-09-18 Thread Havard Tveite
For examples see: http://mapserver.org/mapfile/symbology/construction.html#use-of-the-pattern-and-gap-parameters Håvard On 15. sep. 2017 14:44, Rahkonen Jukka (MML) wrote: Hi, When I say ”GAP” I mean “GAP”. You have that in the “railway” symbol. SYMBOL     NAME 'railway'     TYPE