[mapserver-users] suggestion for CMS

2008-02-18 Thread Laura Poggio
Dear list,
I am looking for a freeware / opensource CMS that could be used with
mapserver and p.mapper and PHP. The features should be rather basic, no
blog, no wiki is needed, just user management.
In practice I would like to set up a web site with three main sections:
1) general section, public available
2) web-GIS, mapserver + p.mapper generated maps available only to registered
users.
3) database query and various modifications

My first idea was to use a normal CMS and put the link to the map part in an
area accessible only to registered users. But I am not sure this is the best
way. And in case it is a possible solution, which CMS would be appropriate?

Any suggestions would be greatly appreciated. Thanks in advance.

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


Re: [mapserver-users] suggestion for CMS

2008-02-18 Thread Lester Caine

Laura Poggio wrote:

Dear list,
I am looking for a freeware / opensource CMS that could be used with 
mapserver and p.mapper and PHP. The features should be rather basic, no 
blog, no wiki is needed, just user management.

In practice I would like to set up a web site with three main sections:
1) general section, public available
2) web-GIS, mapserver + p.mapper generated maps available only to 
registered users.

3) database query and various modifications

My first idea was to use a normal CMS and put the link to the map part 
in an area accessible only to registered users. But I am not sure this 
is the best way. And in case it is a possible solution, which CMS would 
be appropriate?


Any suggestions would be greatly appreciated. Thanks in advance.


I've had a mapper module in development for bitweaver for some time, and it is 
working nicely as an optional package. Needs a little work on the mapserver 
side to set up new maps, but lack of time has prevented any more progress.
bitweaver provides a very nice user management system, and you simply add 
those packages such as wiki and blog only if you want them. A number of other 
options it 'all or nothing', but bitweaver was a spin off from tikiwiki some 
years ago byt those of us who wanted a more administrator friendly setup :)


http://home.lsces.co.uk/lsces/mapper/display_map.php
http://www.bitweaver.org/ ( mapper is a development module but can be 
downloaded from sourceforge )



--
Lester Caine - G8HFL
-
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS gml:null

2008-02-18 Thread Milo van der Linden

Thank you Bart for the response.

I tried BBOX'n my request.

I tried both:
-  SRS=epsg:4326bbox=-180,-90,-180,-90
and
- -  SRS=epsg:28992bbox=0,30,30,60

But none of that did the trick..


Bart van den Eijnden (OSGIS) schreef:

What happens if you add a BBOX filter to your request? You probably need to
specify the coordinates in the SRS of your LAYER.

The BBOX filter defaults to the Map's Extent which could be why it's
returning 0 features since of the projection difference.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


- Oorspronkelijk bericht 
Van: Milo van der Linden [EMAIL PROTECTED]
Naar: mapserver-users mapserver-users@lists.osgeo.org
Onderwerp: [mapserver-users] WFS gml:null
Datum: 18/02/08 10:39

  

Hello list!

I have been surfing the list all morning looking for a solution on why 
my mapserver is returning a gml:null.


Couldn't find any documentation.

The problem:

I do a WFS request on a mapfile that contains a esri shapefile. The 
layer I request has a different SRS than the main map.





http://www.myserver.org/cgi-bin/mapserv.exe?map=awfsenabled.mapamp;SERVICE=WFSamp;VERSION=1.0.0amp;REQUEST=getFeatureamp;TYPENAME=percelen
  

it returns

lt;?xml version='1.0' encoding=quot;ISO-8859-1quot; ?gt;
lt;wfs:FeatureCollection
   xmlns:ms=quot;http://mapserver.gis.umn.edu/mapserverquot;
   xmlns:wfs=quot;http://www.opengis.net/wfsquot;
   xmlns:gml=quot;http://www.opengis.net/gmlquot;
   xmlns:ogc=quot;http://www.opengis.net/ogcquot;
   xmlns:xsi=quot;http://www.w3.org/2001/XMLSchema-instancequot;
   xsi:schemaLocation=quot;http://www.opengis.net/wfs

http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
  

   http://mapserver.gis.umn.edu/mapserver


http://www.myserver.org/cgi-bin/mapserv.exe?map=awfsenabled.mapamp;amp;SERVICE=WFSamp;amp;VERSION=1.0.0amp;amp;REQUEST=DescribeFeatureTypeamp;amp;TYPENAME=percelenamp;amp;OUTPUTFORMAT=XMLSCHEMAquot;gt;
  

   lt;gml:boundedBygt;
  lt;gml:nullgt;missinglt;/gml:nullgt;
   lt;/gml:boundedBygt;
lt;/wfs:FeatureCollectiongt;



Here is my layer definition.

The problem is whatever I do, whether I set wfs_extent or not, it keeps 
returning gml:null


LAYER
NAME 'percelen'
TYPE POLYGON
DEBUG ON
TOLERANCE 1
DUMP TRUE
TEMPLATE 'ttt'
DATA '..mapdatardapercelen_laag_poly_merged.shp'
METADATA
  quot;ows_titlequot; quot;percelenquot;
  quot;ows_srsquot; quot;EPSG:28992quot;
  quot;gml_featureidquot; quot;idquot; ##REQUIRED
  quot;wms_feature_info_mime_typequot;  quot;text/htmlquot;
  quot;ows_feature_info_mime_typequot;  quot;text/htmlquot;
quot;wms_include_itemsquot; 
quot;NEWFIELD2,NEWFIELD1,NEWFIELD3,HECTARES,PERIMETER,AREAquot;
quot;gml_include_itemsquot; 
quot;NEWFIELD2,NEWFIELD1,NEWFIELD3,HECTARES,PERIMETER,AREAquot;

quot;gml_NEWFIELD2_aliasquot; quot;Kadastraleaanduidingquot;
quot;gml_NEWFIELD3_aliasquot; quot;Adresquot;
quot;gml_NEWFIELD1_aliasquot; quot;Eigenaarquot;
quot;gml_HECTARES_aliasquot; quot;Oppervlakte(Ha)quot;
quot;gml_AREA_aliasquot; quot;Oppervlakte(m)quot;
quot;gml_PERIMETER_aliasquot; quot;Omtrek(m)quot;
END
STATUS ON
#TRANSPARENCY 100
PROJECTION
 quot;init=epsg:28992quot;
END
CLASS
   NAME ''
   STYLE
 SYMBOL 0
 SIZE 6
 OUTLINECOLOR 180 208 208
 #COLOR 180 208 208
   END
END
  END
 
___

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] AGG_Q + raster problem

2008-02-18 Thread Guillaume Sueur
quantize_colors=255 is maybe the reason why your colors are reindexed on 
a 256 colors palette.


Hans Castorp a écrit :

Thanks Brent, but there is a mistake, the example I attached is not the
mapservers original output: I have prepared it and give .gif extensión.

This is the way I configure my output:

  OUTPUTFORMAT
NAME 'AGG_Q'
DRIVER AGG/PNG
IMAGEMODE RGBA
FORMATOPTION TRANSPARENT=ON
FORMATOPTION QUANTIZE_FORCE=ON
FORMATOPTION QUANTIZE_DITHER=OFF
FORMATOPTION QUANTIZE_COLORS=255
  END

Thanks in advance.




-Mensaje original-
De: Brent Fraser [mailto:[EMAIL PROTECTED] 
Enviado el: lunes, 18 de febrero de 2008 18:17

Para: Hans Castorp
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] AGG_Q + raster problem

Hans,

  GIF supports only 256 colors.  Use PNG (or JPG) for an output format.

Brent Fraser


Hi to all,



I’m trying to publish a cartography using both vectorial and raster
layers.
I’m using mapserver 5 and agg_q as output format. There is no problem
about
vectorial files (shapefiles): all work fine.

The only problem I’m having is trying to publish some raster stuff: an
aerial photo (.geotiff) and a digital terrain model (.ecw). I’m not
capable
to make the output showing real colours; there is an example attached to
this mail (an aerial photo).



My mapfile looks in this way:



LAYER
NAME MDT
STATUS DEFAULT
GROUP MDT
TYPE raster
DATA mdt.tif
CLASS
   MINSCALE 15000
END
END

LAYER
NAME ORTOFOTO
STATUS DEFAULT
GROUP ORTOFOTO
TYPE raster
DATA ortofoto.ecw
CLASS
   MAXSCALE 15000
END
END



What I have to do to solve this?



Thanks in advance to everyone.





Hans Castorp



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.7/1285 - Release Date: 18/02/2008

5:50
 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.7/1285 - Release Date: 18/02/2008

5:50
 



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



--
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 74 91 95 20
Site web : http://www.neogeo-online.net

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


[mapserver-users] map mouseclick snafu

2008-02-18 Thread Ben Thompson
we have some dropdown menus above the map area. each item consisting of an
a href=xxx
problem is, the menus overlay the map when unrolled and for some reason the
map gets the mouseclick too, causing it to repeat applying whatever tool was
last used (zoom in, etc). How to tell the map not to do this (i.e., disable
active tool), or, better, how to make it not get clicked in the first place?

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