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

2010-01-14 Thread Oliver Christen
mmm, I tested a bit and it seems the calculation is more complex than that, as the ellipse size definition of the symbol has also some effect. style-size 8, points 6 6 end, gap 20 = spacing of ~20px between dots style-size 8, points 8 8 end, gap 20 = spacing of ~14px between dots style-size 10,

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 Oliver Christen
mmm, then whats the difference between points 1 1 end and points 8 8 end ? 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

[mapserver-users] how can I associate MySql and Gdal

2010-01-14 Thread Murat BEYHAN
Hi friends, I have installed mandriva 2010 and then installed Mysql mapserver and gdal which are coming with Mandriva one CD. But I could not read data from MySql database by using ogr because of the supported formats. How could I associate MySql with gdal in order to draw map using data

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

[mapserver-users] 5.6.1 Postgis problem

2010-01-14 Thread Sandeep Kumar Chauhan
i have problem in 5.6.1 for shape index and layeobj getFeature in case of postgis but no problem in 5.4.1 i think problem in mappostgis.c file of 5.6.1 -- View this message in context: http://n2.nabble.com/5-6-1-Postgis-problem-tp4392177p4392177.html Sent from the Mapserver - User mailing list

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

2010-01-14 Thread Stephen Woodbridge
Hi guys, I haven't followed this whole thread but I think it should be better documented so people can understand how to use this. Please write a doc bug and put as much information in the bug about how this works as you have been able to discover. Thanks, -Steve W Oliver Christen wrote:

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

2010-01-14 Thread Oliver Christen
Thank you for the explanation. Im still trying to figure out how to calculate exactly the GAP and ellipse POINT depending on the symbol's size and the distance between the points wanted. empirically I have come with the formula: distance = (GAP * SIZE * 0.75) / POINTS seems weird but at least

Re: [mapserver-users] how can I associate MySql and Gdal

2010-01-14 Thread karlos036
Murat, You'll need to get the MapServer source and compile it yourself in order to add MySql support. Look at the 5.4.2 documentation (http://mapserver.org/installation/unix.html) for instructions. In order to compile MapServer, you'll need to have the MySql db, client and dev packages

Re: [mapserver-users] 5.6.1 Postgis problem

2010-01-14 Thread Stephen Woodbridge
Sandeep Kumar Chauhan wrote: i have problem in 5.6.1 for shape index and layeobj getFeature in case of postgis but no problem in 5.4.1 i think problem in mappostgis.c file of 5.6.1 Hi Sandeep, Thanks for the report. It would be very helpful if you could provide more detail on this? What are

Re: [mapserver-users] how can I associate MySql and Gdal

2010-01-14 Thread Luigi Castro Cardeles
Hi, you can use http://www.gdal.org/ogr/drv_vrt.html []'s Luigi Castro Cardeles 2010/1/14 Murat BEYHAN bey...@deprem.gov.tr Hi friends, I have installed mandriva 2010 and then installed Mysql mapserver and gdal which are coming with Mandriva one CD. But I could not read data from

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

2010-01-14 Thread Oliver Christen
Hi Steve I followed your suggestion and opened a documentation bug thanks Oliver Hi guys, I haven't followed this whole thread but I think it should be better documented so people can understand how to use this. Please write a doc bug and put as much information in the bug about how this

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

[mapserver-users] 5.6.1 - GetFeatureInfo - template processing

2010-01-14 Thread Ted Spradley
Hi everyone, In version 5.4.1 the following GetFeatureInfo request url produced a table described by templates for the layer 'bldg_query' described below. With ver 5.6.1, Mapserver outputs only the template from the mapfile's WEB object (with no query results or image). Do you have any idea of

Re: [mapserver-users] Newbee, hello world problem! It used to work on my old system!

2010-01-14 Thread Ted Spradley
Hi, Insert the 'magic string' !-- Mapserver Template -- at the beginning of all of your html templates and // Mapserver Template at the beginning of any javascript templates you have. Gazz1982 wrote: this error:msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look

Re: [mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

2010-01-14 Thread Ted Spradley
Daniel Morissette wrote: The linker looks for .so files, the *.so.x and *.so.x.y are used only at runtime, so you need libpam.so, which is usually provided by the -devel version of the RPM package. Daniel Thanks much Daniel. The package MS needed turns out to be named 'pam-devel'

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

2010-01-14 Thread Stephen Woodbridge
So if I want ten pixel ellipses with a 1, 2, or 3 pixels gap how would you specify that? points 10 10 gap 1 (or 2 or 3)? -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

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

2010-01-14 Thread Havard Tveite
Stephen Woodbridge wrote: So if I want ten pixel ellipses with a 1, 2, or 3 pixels gap how would you specify that? points 10 10 gap 1 (or 2 or 3)? Yes, if the rendering behaviour had been according to my preferences, POINTS 10 10 END GAP 1 (or 2 or 3) should do it (if you had specified SIZE

[mapserver-users] MapServer with JBOSS

2010-01-14 Thread Flavio Souza
Hello again Anyone knows if is it possible , to use MapServer with JBOSS ? Thanks in advance Flávio Souza ___ Flávio Souza (021) 7629-4249 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] 5.6.1 - GetFeatureInfo - template processing

2010-01-14 Thread Ted Spradley
Ted Spradley wrote: Hi everyone, In version 5.4.1 the following GetFeatureInfo request url produced a table described by templates for the layer 'bldg_query' described below. With ver 5.6.1, Mapserver outputs only the template from the mapfile's WEB object (with no query results or

[mapserver-users] [Fwd: WMSGetFeatureInfo with Mapserver]

2010-01-14 Thread Stephen Woodbridge
Stella, I forwarded this to the lists because there are more people there that might be able to help. If you are not signup to these lists I recommend that you sign up. mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Users

Re: [mapserver-users] 5.6.1 Postgis problem

2010-01-14 Thread Sandeep Kumar Chauhan
Hi Steve, Thanks for reply. What I was trying to say was ... I was using mapscript (csharp) 5.4.1 earlier for my customize application. For performing Identify operation I was using following code... ... ... if (layer.queryByPoint(Map, point, (int)mapscript.MS_SINGLE, tolerance) == ... {

Re: [mapserver-users] 5.6.1 Postgis problem

2010-01-14 Thread Stephen Woodbridge
Ah, that was much more helpful and I have an answer ... There was just another thread about query in mapscript that Steve Lime responded to. In 5.6 (read the migration guide) there have been big changes to the the query code and things work differently now. I don't have all the details on the

RE: [mapserver-users] Change mapfile from html form

2010-01-14 Thread Lime, Steve D (DNR)
Lot's of changes in the syntax when altering a mapfile by URL since the 4.x series. Try: map.layer[BOUNDARY]=POINTS+434844.80 4522838.00 434840.17 4522890.93 434826.42 4522942.25 434803.96 4522990.40 434844.80 4522838.00+END I think that should work. Steve

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

2010-01-14 Thread Oliver Christen
mmm, in my opinion it would be clearer if the GAP didnt depend from anything, set the GAP to 10 would make you a spacing of 10px between each symbols border, whatever the values of the symbol POINTS. but that may be a change too important ? Oliver Stephen Woodbridge wrote: So if I want ten