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

2013-05-31 Thread Stephen Woodbridge

Try adding the following to your mapfile.

-Steve W

On 5/31/2013 3:52 PM, Michael McInnis wrote:


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 this would be greatly appreciated.

I was successful rendering shapefiles with my mapserver installation.

Another possible clue is that if I uncomment the STYLE/SYMBOL line I get
an error it can't find the following:
unable to open file /ms4w/apps/gmap/htdocs/circle for reading

Install :

MapServer version 6.0.3 from MS4W
PostGreSQL 9.0.13
PostGIS 2.0

Map File :

MAP
 NAME airports
 EXTENT -180 -90 180 90
 SIZE 1000 500


SYMBOL
  NAME "circle-filled"
  TYPE ELLIPSE
  FILLED TRUE
  POINTS 1 1 END
END


 LAYER
 CONNECTIONTYPE POSTGIS
 NAME "airports"
 CONNECTION "host=localhost dbname=Business user=
password= port=5432"
 PROCESSING "CLOSE_CONNECTION=DEFER"
 DATA "geomll From airports"
 STATUS ON
 TYPE POINT
 CLASS
 NAME "airportsClass"
 STYLE
 #SYMBOL 'circle'

   SYMBOL 'circle-filled'
   SIZE 4

 COLOR 255 22 22
 END
 END # Class
 END # Layer
END # Map File

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/airports.map&layer=airports&mode=map

This produces a black background with a 1000 pixel by 500 pixel white
space in Firefox.



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2013-05-31 Thread Rahkonen Jukka
Hi,

It can be the old STATUS=ON thing.  Either change it to STATUS=DEFAULT in the 
mapfile or add &layers=all into the request.

Circle error means that Mapserver cannot find a symbol named "circle". You will 
find reading about symbols from Mapserver documents.

-Jukka Rahkonen-

Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] käyttäjän Michael McInnis 
[mmcinni...@msn.com] puolesta
Lähetetty: 31. toukokuuta 2013 22:52
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Mapserver PostGIS Points Layer coming up blank


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 this would be greatly appreciated.

I was successful rendering shapefiles with my mapserver installation.

Another possible clue is that if I uncomment the STYLE/SYMBOL line I get an 
error it can't find the following:
unable to open file /ms4w/apps/gmap/htdocs/circle for reading

Install :

MapServer version 6.0.3 from MS4W
PostGreSQL 9.0.13
PostGIS 2.0

Map File :

MAP
NAME airports
EXTENT -180 -90 180 90
SIZE 1000 500

LAYER
CONNECTIONTYPE POSTGIS
NAME "airports"
CONNECTION "host=localhost dbname=Business user= password= 
port=5432"
PROCESSING "CLOSE_CONNECTION=DEFER"
DATA "geomll From airports"
STATUS ON
TYPE POINT

CLASS
NAME "airportsClass"
STYLE
#SYMBOL 'circle'
COLOR 255 22 22
END
END # Class
END # Layer
END # Map File

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/airports.map&layer=airports&mode=map

This produces a black background with a 1000 pixel by 500 pixel white space in 
Firefox.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[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 this would be greatly appreciated.
I was successful rendering shapefiles with my mapserver installation.
Another possible clue is that if I uncomment the STYLE/SYMBOL line I get an 
error it can't find the following:unable to open file 
/ms4w/apps/gmap/htdocs/circle for reading 
Install :
MapServer version 6.0.3 from MS4WPostGreSQL 9.0.13PostGIS 2.0
Map File :
MAPNAME airportsEXTENT -180 -90 180 90SIZE 1000 500LAYER
CONNECTIONTYPE POSTGISNAME "airports"CONNECTION 
"host=localhost dbname=Business user= password= port=5432"
PROCESSING "CLOSE_CONNECTION=DEFER"DATA "geomll From airports"
STATUS ONTYPE POINTCLASSNAME 
"airportsClass"STYLE#SYMBOL 'circle'
COLOR 255 22 22ENDEND # ClassEND # LayerEND # Map File
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/gmap/htdocs/airports.map&layer=airports&mode=map
This produces a black background with a 1000 pixel by 500 pixel white space in 
Firefox.
  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 6.2 on RHEL

2013-05-31 Thread Stephan Meißl
Hi Jeff,

I'm using this spec file [1] including the configure parameters. Please
send a pull request if you find something missing.

Thanks,
Stephan

[1] https://github.com/mapserver/packaging/blob/master/el/mapserver.spec


On 05/30/2013 11:08 PM, Jeff Konnen wrote:
> Hi Stephan,
> install worked like a charm. We've got one problem though "SVG symbol support 
> is not enabled".
> I don't know if it is a problem of your package or a more general problem 
> with mapserver 6.2.0?
> 
> I guess I'll have to compile it nevertheless :(
> 
> Thanks
> Jeff
> 
> On 29 May 2013, at 13:21, Stephan Meißl  wrote:
> 
>> On 05/28/2013 11:28 PM, Jeff Konnen wrote:
>>> Hi all,
>>>
>>> before going down the compile path, I just want to make sure I didn't miss 
>>> something.
>>> I need to install mapserver 6.2 on RHEL 6.4 and was looking for a 
>>> repository or a rpm.
>>> but I couldn't find anything.
>>>
>>> Is there something out there that I could have missed?
>>>
>>> Thanks a lot in advance
>>> Jeff
>>
>>
>> Hi Jeff,
>>
>> we're hosting an EL 6 yum repository including MapServer 6.2 builds at
>> http://packages.eox.at/ The packages are generated on CentOS hosts but
>> should work on RHEL. If you give it a try I'd be interested to hear your
>> experience.
>>
>> cu
>> Stephan

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 6.2 on RHEL

2013-05-31 Thread Stephan Meißl
Hi Jonas,

sure, that's why we have it :)

cu
Stephan


On 05/30/2013 10:47 AM, Nielsen, Jonas Lund wrote:
> 
> Hi Stephan,
> 
> I am in a similar situation to Jeff, but have so far been compiling from 
> source.
> Would it be ok if I tried grabbing your MapServer 6.2 build from the repo as 
> well?
> I'm not sure I will get around to it anytime soon, though, but I will let you 
> know how it works out.
> 
> - Jonas
> 
> -Oprindelig meddelelse-
> Fra: Stephan Meißl [mailto:step...@meissl.name] 
> Sendt: 29. maj 2013 13:22
> Til: mapserver-users@lists.osgeo.org
> Emne: Re: [mapserver-users] Mapserver 6.2 on RHEL
> 
> On 05/28/2013 11:28 PM, Jeff Konnen wrote:
>> Hi all,
>>
>> before going down the compile path, I just want to make sure I didn't miss 
>> something.
>> I need to install mapserver 6.2 on RHEL 6.4 and was looking for a repository 
>> or a rpm.
>> but I couldn't find anything.
>>
>> Is there something out there that I could have missed?
>>
>> Thanks a lot in advance
>> Jeff
> 
> 
> Hi Jeff,
> 
> we're hosting an EL 6 yum repository including MapServer 6.2 builds at
> http://packages.eox.at/ The packages are generated on CentOS hosts but
> should work on RHEL. If you give it a try I'd be interested to hear your
> experience.
> 
> cu
> Stephan
> 
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users