#MAPSERVER IRC Log - 2010-02-04

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
06:09:08 msavarese: mapserver newbie here: using a qgis 1.4 generated mapfile and its creating a png in my tmp folder but its blank, file size is 7kb. how do I go about debugging
06:16:15 msavarese_: mapserver newbie here: using a qgis 1.4 generated mapfile and its creating a png in my tmp folder but its blank, file size is 7kb. how do I go about debugging
06:21:31 jmckenna: msavarese: cut your mapfile to one single layer, use ogrinfo or gdalinfo to grab extents of that one layer, use those values in top EXTENT parameter in mapfile. also remove all projection objects. then use shp2img with -map_debug 3 ( see page in mapserver.org )....sorry have to run, this should get u started.
07:22:06 joel1: EvSIG project in SourceForge.net
07:32:33 joel1: cualquier ayuda es bienvenida
09:02:30 CIA-8: assefa * r9777 /trunk/mapserver/mapogcfilter.c: Correct regex for numeric value tests #3289
10:01:03 CIA-8: assefa * r9778 /trunk/mapserver/maporaclespatial.c: correct oracle query string when used with layer's filter and maxfeatures #3290
10:35:22 CIA-8: tomkralidis * r9779 /trunk/msautotest/wxs/expected/wms_rast_cap.xml: update for correct results
10:50:39 m_k: hi, what's the best way to achieve a line styled like this in MS? http://img.photobucket.com/albums/v230/gesah/staromlynska.jpg
10:51:18 m_k: ( those black lines with triangles on side )
10:52:07 m_k: i know i can create a png with such triangle and make line with it, but it doesn't look too good - esp. on corners, spacing between is not equal
14:20:25 s34n: I would like to use mapserver to publish gis stuff generated in AutoCAD
14:21:23 s34n: I'm wondering what data format might be my best way to go between AC and mapserver
14:44:03 nhv: probably dxf see the GDAL OGR docs
14:48:06 nhv: this is new in the recent gdal 1.7 release
14:48:48 nhv: http://www.gdal.org/ogr/drv_dxf.html
14:48:50 sigabrt: Title: AutoCAD DXF ( at www.gdal.org )
20:11:34 outer_space: can mapserver use shapefiles that have a space in their name?
20:17:40 FrankW: I imagine that could work, but it is sort of asking for problems.
21:19:10 jmckenna: outer_space: my advice is to no go there. you may be able to use spaces in raw mapserver ( shp2img, mapserv CGI ) but often addon things ( like WMS, addon applications like MapFish, GeoMoose ) fail with spaces. my advice is to never use spaces in filenames or layer names, when serving files through mapserver
21:23:06 outer_space: my shapefiles are messy like each line in a polygon is defined point by point
21:23:39 outer_space: any way to take out coordinates that are in the middle of a straight line?
21:25:14 jmckenna: are you asking how to edit a shapefile? You can use your favorite desktop GIS for that - such as qgis.org - otherwise, i don't really understand your question.
21:25:42 FrankW: I think outer_space may want some sort of batch simplification algorithm that would remove unnecessary points along straight lines.
21:25:51 FrankW: I'm not aware of a tool for doing this, off hand.
21:26:05 jmckenna: ah i see
21:26:55 FrankW: qgis could certainly be used to do it manually.
21:27:30 jmckenna: I believe PostGIS might have some simplification algorithms, so you can suck the data into a PostGIS DB and edit there...or as FrankW says use QGIS
21:28:59 jmckenna: ( without spaces in filenames, ha )
21:37:20 jmckenna: outer_space: see the 'geometry processing functions' of PostGIS: http://postgis.refractions.net/documentation/manual-1.5/reference.html#Geometry_Processing
21:37:21 sigabrt: Title: Chapter 7. PostGIS Reference ( at postgis.refractions.net )
21:38:04 outer_space: ok
21:44:47 outer_space: my shapefile is 60mb is that too big?
22:42:17 jmckenna: outer_space: not at all. for the recent foss4g benchmarking event we used shapfiles over 1GB. just make sure you use shptree on each shapefile ( http://www.mapserver.org/utilities/shptree.html )
22:42:18 sigabrt: Title: shptree MapServer 5.6.1 documentation ( at www.mapserver.org )