[mapserver-users] Mapserver PostGIS Points Layer coming up blank

2013-05-31 Thread Michael McInnis
Dear Mapserver List, I've progressed to the point where the following does not show any errors but the subsequent map image is blank/white.I confirmed INPUT=POSTGIS shows up with mapserv -v and I know the table is constructed properly because I can display it easily in QGIS. Any help debugging

[mapserver-users] No Postgresql mapserver images

2013-07-26 Thread Michael McInnis
STATUS ON TYPE POINT CLASS NAME "airportsClass" SYMBOL 'circle-filled' SIZE 2 COLOR 255 22 22 END END # Class END # Layer END # Map File Michael McInnis 6033 44th Ave

Re: [mapserver-users] No Postgresql mapserver images

2013-07-29 Thread Michael McInnis
: listen_addresses = '*'which needed to be : listen_addresses = 'localhost' Thank you for all the helpful responses in debugging this. Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 > Date: Sun, 28 Jul 2013 11:14

Re: [mapserver-users] No Postgresql mapserver images

2013-07-30 Thread Michael McInnis
st I'm more familiar with all the pieces now. Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 Date: Tue, 30 Jul 2013 08:59:24 +0200 From: raffaele.more...@gmail.com To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] No Postgresql mapserver images 2013

[mapserver-users] tif tile not visible

2013-07-31 Thread Michael McInnis
ot; TYPERASTER STATUS ON OPACITY 100 MAXSCALEDENOM 82500 PROJECTION "+proj=longlat +ellps=WGS84"END ENDEND QUERYMAPSTATUS ON STYLE HILI

Re: [mapserver-users] tif tile not visible

2013-07-31 Thread Michael McInnis
I got the error log working and it says "Unable to access file. Corrupt, empty or missing file '/blah/blah/blah/33114.TIF' which I can copy the path and cd to fine. I can display that tif in QGIS. I don't need to install tilecache to get this map layer to work do I? Micha

[mapserver-users] Can't draw points from shapefile

2013-08-01 Thread Michael McInnis
SIZE 2 #SYMBOL "line" ANTIALIAS TRUE END END CLASS #MINSCALEDENOM2000 #MAXSCALEDENOM3 STYLE COLOR 150 47 59

Re: [mapserver-users] Can't draw points from shapefile

2013-08-03 Thread Michael McInnis
sions I've learned to overcome with mapserver Url parameters. Thanks to all the helpful tips I've received on this challenge. Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 Date: Sat, 3 Aug 2013 09:23:55 -0600 From: bfra...@geoanalytic.com To: mmcinni...@msn.com CC:

[mapserver-users] Still can't draw points

2013-08-05 Thread Michael McInnis
quot; END WEB IMAGEPATH "/media/D_Drive/www/gis/tmp/" IMAGEURL"gis/tmp/" END LAYER NAME"city" TYPEPOINT STATUS DEFAULT DATA"CityALL" CLASS STYLE SYMBOL "square" SI

Re: [mapserver-users] Still can't draw points

2013-08-05 Thread Michael McInnis
YES! I find it odd that points are the only type that require a separately defined symbol in order to see a graphical product.I was able to draw polygons and lines without this extra step. But thanks so much for pointing this out, now I can draw all my data! Michael McInnis 6033 44th Ave. N.E

[mapserver-users] drawing multiple layers from postgis

2013-08-08 Thread Michael McInnis
ION=DEFER"DATA "geom From business_rd1 as rd1 using unique id using srid=4326" #MINSCALE 10 STATUS ONTYPE POINTCLASSSYMBOL 'circle' SIZE 2 COLOR 255 0 0 ENDEND # Cla

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Michael McInnis
g GIST(geom); // Now add a primary key named id to enable mapserver drawing Alter Table business_rd2 Add Column id BIGSERIAL Primary Key; > Date: Fri, 9 Aug 2013 12:23:52 +0200 > Subject: Re: [mapserver-users] drawing multiple layers from postgis > From: thomas.bonf...@gmail.com >

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Michael McInnis
port=5432"DATA "geom From business_rd4 as rd4 using unique id using srid=4326" PROCESSING "CLOSE_CONNECTION=DEFER"#MINSCALE 1 STATUS ONTYPE POINTCLASSSYMBOL 'circle' SIZE 2

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Michael McInnis
, very subtle change there Adding STYLE in front of SYMBOL. Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 > From: bob.basq...@ci.stpaul.mn.us > CC: mapserver-users@lists.osgeo.org > Date: Fri, 9 Aug 2013 16:02:31 + > Subject: Re: [mapserver-users] drawing mul

[mapserver-users] draw map at a precise scale

2013-08-12 Thread Michael McInnis
now, that's the point. I can write the math to do the extent calculation manually but figure this is such a basic functionality it mustalready exist in mapserver? Anyone done this before? Thanks Michael McInnis _

[mapserver-users] Draw PHP labels

2013-08-21 Thread Michael McInnis
portsClass->set("name","MyAirports"); // Style $airportsStyle = ms_newStyleObj($oAirportsClass); $airportsStyle->color->setRGB(255, 22, 22); $airportsStyle->set("symbolname", "circle"); $airportsStyle->set("size", "3"); //$oAirportsClass-&

Re: [mapserver-users] Draw PHP labels

2013-08-28 Thread Michael McInnis
Thanks for the suggestion. Actually, my problem was in the font and size definitions. Once I happened upon those assignments (below in the // Label section) my label text magically appeared. You would think the text would default to something like everything else. Thank you for all the feedbac

[mapserver-users] Labels stopped working after update

2013-09-13 Thread Michael McInnis
This was working yesterday but I applied an update for ubuntu 12.04 today that had some mapserver items and now my php file only works if I comment out the labels portion below so I get points without labels. Did something change recently related to php mapscript labels? // Layer 3 airports

[mapserver-users] TYPE/FONT/SIZE breaks labels

2013-09-16 Thread Michael McInnis
Mapservers! I have bailed on dynamically generating labels and fell back to a .map based solution and may have found the primary problem. If I enable TYPE or FONT or SIZE in the LABEL section my map fails to display. I installed Truetype fonts on my Ubuntu system on Friday. Does anyone know w

Re: [mapserver-users] TYPE/FONT/SIZE breaks labels

2013-09-16 Thread Michael McInnis
Thanks, that seems to have fixed things. It only seems to work with arial but the sizes work now. I'll look into how to get full control of installed fonts I guess. Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701 > From: jukka.rahko...@mmmtike.fi > To: mmcinni

[mapserver-users] No points selected with queryByShape

2013-09-17 Thread Michael McInnis
I'm baffled on this one! I get a shape object $circle and I have a point layer $bizLayer. I know they are both valid as they overlay as expected on my map. When I call printBusiness to use queryByShape to get the points in the shape it always returns 0 for $numResults. Am I missing a step some

Re: [mapserver-users] No points selected with queryByShape

2013-09-17 Thread Michael McInnis
Not sure I follow this. Template is an empty layer in my map file we use to add shapes to for display. My Feature layer is a shapefile of business point locations. What does queryable mean in relation to a shapefile of points? Michael McInnis 6033 44th Ave. N.E. Seattle, WA 98115 206 517-4701

[mapserver-users] Old code must be deprecated

2013-09-27 Thread Michael McInnis
I'm trying to get some old code to work with 6.+ and can't retrieve census counts yet via the old method.Does someone know what the new syntax would be below? Thanks $layer->queryByShape($circle); $numResults = $layer->getNumResults(); if($numResults > 0 && $numResults < 1){