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
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
:
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
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
ot; TYPERASTER STATUS
ON OPACITY 100 MAXSCALEDENOM 82500
PROJECTION "+proj=longlat +ellps=WGS84"END
ENDEND
QUERYMAPSTATUS ON STYLE HILI
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
SIZE 2
#SYMBOL "line"
ANTIALIAS TRUE
END
END
CLASS
#MINSCALEDENOM2000
#MAXSCALEDENOM3
STYLE
COLOR 150 47 59
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:
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
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
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
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
>
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
, 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
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 _
portsClass->set("name","MyAirports");
// Style
$airportsStyle = ms_newStyleObj($oAirportsClass);
$airportsStyle->color->setRGB(255, 22, 22);
$airportsStyle->set("symbolname", "circle");
$airportsStyle->set("size", "3");
//$oAirportsClass-&
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
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
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
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
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
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
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){
23 matches
Mail list logo