Re: [mapserver-users] MapServer webgis used too little capacity bandwidth
Andy Colson wrote: Sorry I left you hanging there, it was past my bed time. I'm not really sure at this point. Sounds like client side just is not requesting more than one thing at a time. The server is sitting idle. You tried multiple-urls... you put the new ip's in the clients hosts file right? (and not the servers). Its the client that'll need to lookup the address. Are you using firebug? Can you see if its making multiple requests at once? Have you tried this: http://openlayers.org/dev/examples/layerLoadMonitoring.html -Andy Dear my friend, I use a DNS Server in LAN to point different URLs to the same IP. For example: wm1.linuxserver.com -- 192.168.1.10 wm2.linuxserver.com -- 192.168.1.10 wm3.linuxserver.com -- 192.168.1.10 wm4.linuxserver.com -- 192.168.1.10 it's working ok. Using Tile Loading Monitoring, I found that they (multi URLs and single URLs) are the same. Time to load, to download tiles are equal. I did not see any difference here, Andy! I think I'm missing something here, right ? -- View this message in context: http://n2.nabble.com/MapServer-webgis-used-too-little-capacity-bandwidth-tp3404699p3415557.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer webgis used too little capacity bandwidth
Dear Andy, The problem was solved :drunk: Because when I added tilecache layer, I provided url which points to tilecache.cgi, so it's slow. I change it to cache dir of tilecache layer and using multiple URLs, I think you understand how fast it do. Capacity of bandwidth now more than 1.5 Mbps. So great ! Without you, I think I couldnot reach to this happy result. Thanks so much Andy ! And now I wondering how to make the WMS layers faster! They are my problem now :) Cheers Andy ! -- View this message in context: http://n2.nabble.com/MapServer-webgis-used-too-little-capacity-bandwidth-tp3404699p3416409.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Poor quality in raster images
Hi everyone, This is the first time I make use of raster layers. Everything works fine but the raster layer is rendered very poorly ( I mean , I visualise the image with an external program at the same scale and the image looks smooth , but with mapserver I only see some dots here an there ) The image is a geotiff image ( black and white) I tried using different processing directives PROCESSING RESAMPLE=BILINEAR PROCESSING DITHER=YES PROCESSING SCALE=AUTO without any luck. These are some fragments of my mapfile OUTPUTFORMAT NAME AGG DRIVER AGG/PNG IMAGEMODE RGB extension png mimetype image/png FORMATOPTION INTERLACE=OFF END LAYER PROCESSING RESAMPLE=BILINEAR PROCESSING DITHER=YES PROCESSING SCALE=AUTO NAME test DATA bsas1867norte.tif TYPE RASTER STATUS default END I am using mapserver 5.4.1 tilecache and postgis Mapserver compilation options : ./configure --with-postgis=/usr/bin/pg_config --enable-debug --with-threads --without-pdf --without-tiff --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-freetype=/usr/bin --with-png=/usr/bin --with-libiconv=/usr/local/bin/iconv --without-xpm --with-zlib=/usr --without-eppl --with-agg=/usr/local/src/agg-2.4 --without-mygis --with-gd=/usr --with-curl-config=/usr/bin/curl-config --with-wms --with-wfs --with-proj=/usr What can I do to make raster layers look better ( performance is not an issue since I am using tilecache ) Thanks in advance. Regards. Lic. Heraldo G. Rodriguez hrodrig...@siscat.com.ar mailto:hrodrig...@siscat.com.ar TEL: 54-11-4326-4002 int 255 Dpto. Desarrollo Sistemas Catastrales S.A De: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] En nombre de YOUNESS ELMEDRAOUI Enviado el: lunes, 10 de agosto de 2009 11:13 Para: mapserver-users@lists.osgeo.org Asunto: [mapserver-users] tooltip openlayers /wms Hi, plz, how can i create a tooltips with openlayers / wms layers? thnks best regards, Youness ELMEDRAOUI Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci image002.jpg___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Extracting X,Y from MULTIPOINT data
-Original Message- From: Andy Colson [mailto:a...@squeakycode.net] Sent: Monday, August 10, 2009 8:52 AM To: Suman Chatterjee Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Extracting X,Y from MULTIPOINT data Suman Chatterjee wrote: Hi all, I have some multipoint data in postgis that I got from street intersections. But I am not able to extract the X,Y coordinates from the MULTIPOINT data. Is there any function in postgis by which I can extract the X,Y point data from them? Please help! Thanks, Suman Yes. Are you looking for all points? Just the first? Some subset? How do you want to see it? Did you try ST_AsText(col)? There is also ST_NumPoints(geometry) and ST_PointN(geometry,integer) if you want to look at them individually. An example of what youd like to see, or what you are trying to do might be helpful. More functions here: http://postgis.refractions.net/documentation/manual-1.3/ch06.html -Andy Suman Chatterjee wrote: Hi Andy, Thanks for your help. Actually, I am having both point and multipoint data in the same table which I got through road intersections by applying ST_intersection. I am using this function for extracting the coordinates from the POINT data. Select distinct x(geometryn(multi((st_intersection)),1)),y(geometryn(multi((st_intersect ion)),1)),c,d from (select ST_intersection(a.the_geom,b.the_geom),a.fname as c,b.fname as d from roads1 as a, roads1 as b where a.fnameb.fname and ST_intersects(a.the_geom,b.the_geom) as drfe But I am not getting the X,Y for the multipoint data. I require X,Y for all the points within the multipoint set. I can extract the multipoints from the whole by Create table ex_intersects as (select ST_intersection(a.the_geom,b.the_geom),a.fname as c,b.fname as d from roads1 as a, roads1 as b where a.fnameb.fname and ST_intersects(a.the_geom,b.the_geom) Select st_intersection from ex_intersects where geometrytype(ST_intersection)='MULTIPOINT' I tried with St_astext but it is giving the set of multipoints. But I want the X,Y for all the points within the multipoint geometry. How to do that? Thanks Suman Wow, you are a lot deeper into postgis than I am, not sure if I'll be any help. Question: ST_intersection(a.the_geom,b.the_geom) returns a multipoint? Then x(geometryn(multi((st_intersection)),1)) would return just the x coord of the first point? but you want the x coord of all the points? (yes, y too, I'm just trying to break it down to understand) -Andy ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Extracting X,Y from MULTIPOINT data
Yes, ST_intersection return both POINT and MULTIPOINT. And x(geometryn(multi((st_intersection)),1)) is returning the x coordinates of all the points which are having point geometry. Those with multipoint geometry are omitted from the result. So, I want the x and y-coordinate for all the points within the multipoint. Suman -Original Message- From: Andy Colson [mailto:a...@squeakycode.net] Sent: Monday, August 10, 2009 10:27 AM To: Suman Chatterjee Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Extracting X,Y from MULTIPOINT data -Original Message- From: Andy Colson [mailto:a...@squeakycode.net] Sent: Monday, August 10, 2009 8:52 AM To: Suman Chatterjee Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Extracting X,Y from MULTIPOINT data Suman Chatterjee wrote: Hi all, I have some multipoint data in postgis that I got from street intersections. But I am not able to extract the X,Y coordinates from the MULTIPOINT data. Is there any function in postgis by which I can extract the X,Y point data from them? Please help! Thanks, Suman Yes. Are you looking for all points? Just the first? Some subset? How do you want to see it? Did you try ST_AsText(col)? There is also ST_NumPoints(geometry) and ST_PointN(geometry,integer) if you want to look at them individually. An example of what youd like to see, or what you are trying to do might be helpful. More functions here: http://postgis.refractions.net/documentation/manual-1.3/ch06.html -Andy Suman Chatterjee wrote: Hi Andy, Thanks for your help. Actually, I am having both point and multipoint data in the same table which I got through road intersections by applying ST_intersection. I am using this function for extracting the coordinates from the POINT data. Select distinct x(geometryn(multi((st_intersection)),1)),y(geometryn(multi((st_intersect ion)),1)),c,d from (select ST_intersection(a.the_geom,b.the_geom),a.fname as c,b.fname as d from roads1 as a, roads1 as b where a.fnameb.fname and ST_intersects(a.the_geom,b.the_geom) as drfe But I am not getting the X,Y for the multipoint data. I require X,Y for all the points within the multipoint set. I can extract the multipoints from the whole by Create table ex_intersects as (select ST_intersection(a.the_geom,b.the_geom),a.fname as c,b.fname as d from roads1 as a, roads1 as b where a.fnameb.fname and ST_intersects(a.the_geom,b.the_geom) Select st_intersection from ex_intersects where geometrytype(ST_intersection)='MULTIPOINT' I tried with St_astext but it is giving the set of multipoints. But I want the X,Y for all the points within the multipoint geometry. How to do that? Thanks Suman Wow, you are a lot deeper into postgis than I am, not sure if I'll be any help. Question: ST_intersection(a.the_geom,b.the_geom) returns a multipoint? Then x(geometryn(multi((st_intersection)),1)) would return just the x coord of the first point? but you want the x coord of all the points? (yes, y too, I'm just trying to break it down to understand) -Andy *** This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you. *** ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Failed to draw ECW
Hi all, I have installed libecwj2-3.3 in my linux server to make gdal (version 1.6.0) support ECW. However, MapServer(version 5.2) still fails to draw the ecw file: Failure Class : SoapFaultWrapperMessage : MapServer error: Error in msDrawMap(): Failed to draw layer named 'raster_ecw'. Error in msDrawRaster(): raster/200920802.ecw using full path /home/fgs/fgs/apps/common_files/data/raster/200920802.ecw The layer definition in mapfile is: LAYER NAME raster_ecw STATUS ON DATA raster/200920802.ecw TYPE RASTER END My ecw file size is 3.8G, is the size too big or what reason? Thanks in advance, Jady -- View this message in context: http://n2.nabble.com/Failed-to-draw-ECW-tp3421687p3421687.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] tooltip openlayers /wms
Hello Youness, Check out this link (for Vector layers) - maybe it helps: http://www.mail-archive.com/us...@openlayers.org/msg7.html YOUNESS ELMEDRAOUI wrote: Hi, plz, how can i create a tooltips with openlayers / wms layers? thnks best regards, Youness ELMEDRAOUI Les informations figurant sur cet e-mail ont un caract�re strictement confidentiel et sont exclusivement adress�es au destinataire mentionn� ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en �tes pas le destinataire.Dans ce cas, veuillez nous en avertir imm�diatement par la m�me voie et d�truire l'original. Merci ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- --- Adrian Popa NOC Division Network Engineer Divizia Centrul National de Operare Retea Departament Transport IP Metro Compartiment IP Core Backbone Phone: +40 21 400 3099 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users