RE: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Joaquín Rodriguez-Guerra Urcelay
Thanks Yewondwossen,

I am going to try to build from source (I have never donde it before) and 
update the bug :)

Best regards,

Joaquín

De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca]
Enviado el: martes, 29 de marzo de 2011 22:33
Para: Joaquín Rodriguez-Guerra Urcelay
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] WFS Intersect with gml:box

Hi,

 I did check that and It was not working for me either. It is now fixed in 
trunk and also in the 5.6.x branch.
I have added a bug http://trac.osgeo.org/mapserver/ticket/3789 [1] on it, so 
if you have the chance to build from source, please give it a try and update 
the bug.

best regards,


[1]: http://trac.osgeo.org/mapserver/ticket/3789

On 29/03/2011 1:18 PM, Joaquín Rodriguez-Guerra Urcelay wrote:

Hello list,



I am using a desktop GIS applicatin (uDig) to connect mapserver and display 
some wfs layers and I am having some trouble when uDig tries to filter features 
by bounding box.



uDig sends a intersects spatial filter to obtain features in a bounding box:



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/Intersects

/Filter



But it is not working :(



ServiceExceptionReport version=1.2.0 
xsi:schemaLocation=http://www.opengis.net/ogc 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd;http://www.opengis.net/ogchttp:/schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd

ServiceException code=InvalidParameterValue locator=filter

msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in 
GetFeature : Filter 
xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyNamegml:Box
 srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= -100.0,-45.0 
100.0,45.0/gml:coordinates/gml:Box/Intersects/Filter

/ServiceException

/ServiceExceptionReport



I have checked that the BBOX filter works perfectly ( I just replaced 
Intersects with BBOX in the above url)



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlBBOXPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/BBOX

/Filter



But I cant make the INTERSECTS operation work. I would really appreciate if 
someone could point me to any examples of the INTERSECT operation used together 
with gml:box or Box.

 I have seen some examples of intersects used with gml:polygon, but it should 
work too with box, right??



Thanks for reading!



Joaquín

__

This message including any attachments may contain confidential

information, according to our Information Security Management System,

 and intended solely for a specific individual to whom they are addressed.

 Any unauthorised copy, disclosure or distribution of this message

 is strictly forbidden. If you have received this transmission in error,

 please notify the sender immediately and delete it.



__

Este mensaje, y en su caso, cualquier fichero anexo al mismo,

 puede contener informacion clasificada por su emisor como confidencial

 en el marco de su Sistema de Gestion de Seguridad de la

Informacion siendo para uso exclusivo del destinatario, quedando

prohibida su divulgacion copia o distribucion a terceros sin la

autorizacion expresa del remitente. Si Vd. ha recibido este mensaje

 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.

Gracias por su colaboracion.



__



___

mapserver-users mailing list

mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapserver-users






--



Assefa Yewondwossen

Software Analyst



Email: yass...@dmsolutions.camailto:yass...@dmsolutions.ca

http://www.dmsolutions.ca/



Phone: (613) 565-5056 (ext 14)

Fax:   (613) 565-0925





__
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender 

[mapserver-users] create symbols and random format

2011-03-30 Thread David Francés
Good morning,
How is a symbolism of a polygon vector layer type consisting of random points 
along its surface?, is like making a orthogonal grid, what interests me is to 
move the rack to random points.
Does anyone know how?
Thank you very much
Greetings

 

 

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


[mapserver-users] WMS layer with FILTER and TIME parameter

2011-03-30 Thread geographika

Hi,

I am calling a MapServer WMS layer from OpenLayers with a time paramter 
such as TIME=2005%2F2020

My WMS layer in the MapFile has the following parameters:

DATA GEOM from table USING UNIQUE FID USING SRID=29902
FILTER MyVal = 2

However the filter is ignored whenever TIME is used. Is this expected 
behaviour that any previous filters are overwritten rather than appended to?

I'm using MapServer 5.6 and the MS SQL plugin.

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika


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


Re: [mapserver-users] Negative GAP parameter to rotate vector symbols along line

2011-03-30 Thread Bartłomiej Burkot

Hi thomas

what mapserver version?
what outputformat/renderer?

MapServer version 5.6.5

OUTPUTFORMAT
  NAME gif
  DRIVER GD/GIF
  MIMETYPE image/gif
  IMAGEMODE PC256
  EXTENSION gif
END

Bartek


--
thomas

On Wed, Mar 30, 2011 at 15:10, Bartłomiej Burkot
pomiarowie...@poczta.onet.pl  wrote:

Hi Users

I would like to render a vector symbol along the line in a layer. This
vector symbol should be rotated according to orientation of linesegments
(for example a arrow along one way street). When I use negative GAP with
truetype symbol it work perfectly but I have probelms with vector symbols to
rotate them.

I use this definition of Symbol but it doesn't work:

SYMBOL
 NAME testsymbol
TYPE VECTOR
   POINTS
 5 0
 2 1
 0 2.5
 2 4
 5 5
 5 5
 2 6
 0 7.5
 2 9
 5 10
   END
 STYLE 1 8 1 18 END
 GAP -99 # doesn't work
END

I read in docu http://mapserver.org/mapfile/symbol.html that:

When drawing the symbol along a line segment, a negative GAP will will add
180 degress to the angle. The TrueType and PixMap symbols are always
oriented along the line.

My layer definiton is:

LAYER
   NAME testtest
   STATUS on
   TYPE line
   TRANSFORM false
   FEATURE
 WKT LINESTRING (0 0, 100 100, 0 100)
   END
   CLASS

 STYLE
 #ANGLE AUTO
 SYMBOL testsymbol
 COLOR 0 255 0
 #SIZE8
 END
   END
END

Does vectorsymbol play with negative GAP parameter?
Bartek




___
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] WFS Intersect with gml:box

2011-03-30 Thread Joaquín Rodriguez-Guerra Urcelay
Hi Yewondwossen,

Are you planning to include this fix in mapserver 6??
I am still fighting with the sources, stuck in the error:  ld: cannot find 
-ltermcap
Hopefully fgs will create a new self-installer for mapserver 6 in a couple of 
months, or I should not expect that?

Thanks,

Joaquín 

De: Joaquín Rodriguez-Guerra Urcelay
Enviado el: miércoles, 30 de marzo de 2011 9:29
Para: Yewondwossen Assefa
CC: mapserver-users@lists.osgeo.org
Asunto: RE: [mapserver-users] WFS Intersect with gml:box

Thanks Yewondwossen,

I am going to try to build from source (I have never donde it before) and 
update the bug ☺

Best regards,

Joaquín

De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca]
Enviado el: martes, 29 de marzo de 2011 22:33
Para: Joaquín Rodriguez-Guerra Urcelay
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] WFS Intersect with gml:box

Hi,

 I did check that and It was not working for me either. It is now fixed in 
trunk and also in the 5.6.x branch.
I have added a bug http://trac.osgeo.org/mapserver/ticket/3789 [1] on it, so 
if you have the chance to build from source, please give it a try and update 
the bug.

best regards,


[1]: http://trac.osgeo.org/mapserver/ticket/3789

On 29/03/2011 1:18 PM, Joaquín Rodriguez-Guerra Urcelay wrote:

Hello list,



I am using a desktop GIS applicatin (uDig) to connect mapserver and display 
some wfs layers and I am having some trouble when uDig tries to filter features 
by bounding box.



uDig sends a intersects spatial filter to obtain features in a bounding box:



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/Intersects

/Filter



But it is not working :(



ServiceExceptionReport version=1.2.0 
xsi:schemaLocation=http://www.opengis.net/ogc 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd;http://www.opengis.net/ogchttp:/schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd

ServiceException code=InvalidParameterValue locator=filter

msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in 
GetFeature : Filter 
xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyNamegml:Box
 srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= -100.0,-45.0 
100.0,45.0/gml:coordinates/gml:Box/Intersects/Filter

/ServiceException

/ServiceExceptionReport



I have checked that the BBOX filter works perfectly ( I just replaced 
Intersects with BBOX in the above url)



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlBBOXPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/BBOX

/Filter



But I cant make the INTERSECTS operation work. I would really appreciate if 
someone could point me to any examples of the INTERSECT operation used together 
with gml:box or Box.

 I have seen some examples of intersects used with gml:polygon, but it should 
work too with box, right??



Thanks for reading!



Joaquín

__

This message including any attachments may contain confidential

information, according to our Information Security Management System,

 and intended solely for a specific individual to whom they are addressed.

 Any unauthorised copy, disclosure or distribution of this message

 is strictly forbidden. If you have received this transmission in error,

 please notify the sender immediately and delete it.



__

Este mensaje, y en su caso, cualquier fichero anexo al mismo,

 puede contener informacion clasificada por su emisor como confidencial

 en el marco de su Sistema de Gestion de Seguridad de la

Informacion siendo para uso exclusivo del destinatario, quedando

prohibida su divulgacion copia o distribucion a terceros sin la

autorizacion expresa del remitente. Si Vd. ha recibido este mensaje

 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.

Gracias por su colaboracion.



__



___

mapserver-users mailing list

mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapserver-users






--



Assefa Yewondwossen

Software Analyst



Email: yass...@dmsolutions.camailto:yass...@dmsolutions.ca


RE: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Joaquín Rodriguez-Guerra Urcelay
Hi Yewondwossen,

Are you planning to include this fix in mapserver 6??
I am still fighting with the sources, stuck in the error:  ld: cannot find 
-ltermcap
Hopefully fgs will create a new self-installer for mapserver 6 in a couple of 
months, or I should not expect that?

Thanks, 

Joaquín 

De: Joaquín Rodriguez-Guerra Urcelay
Enviado el: miércoles, 30 de marzo de 2011 9:29
Para: Yewondwossen Assefa
CC: mapserver-users@lists.osgeo.org
Asunto: RE: [mapserver-users] WFS Intersect with gml:box

Thanks Yewondwossen,

I am going to try to build from source (I have never donde it before) and 
update the bug ☺

Best regards,

Joaquín

De: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca]
Enviado el: martes, 29 de marzo de 2011 22:33
Para: Joaquín Rodriguez-Guerra Urcelay
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] WFS Intersect with gml:box

Hi,

 I did check that and It was not working for me either. It is now fixed in 
trunk and also in the 5.6.x branch.
I have added a bug http://trac.osgeo.org/mapserver/ticket/3789 [1] on it, so 
if you have the chance to build from source, please give it a try and update 
the bug.

best regards,


[1]: http://trac.osgeo.org/mapserver/ticket/3789

On 29/03/2011 1:18 PM, Joaquín Rodriguez-Guerra Urcelay wrote:

Hello list,



I am using a desktop GIS applicatin (uDig) to connect mapserver and display 
some wfs layers and I am having some trouble when uDig tries to filter features 
by bounding box.



uDig sends a intersects spatial filter to obtain features in a bounding box:



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/Intersects

/Filter



But it is not working :(



ServiceExceptionReport version=1.2.0 
xsi:schemaLocation=http://www.opengis.net/ogc 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd;http://www.opengis.net/ogchttp:/schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd

ServiceException code=InvalidParameterValue locator=filter

msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in 
GetFeature : Filter 
xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlIntersectsPropertyNamepoint/PropertyNamegml:Box
 srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= -100.0,-45.0 
100.0,45.0/gml:coordinates/gml:Box/Intersects/Filter

/ServiceException

/ServiceExceptionReport



I have checked that the BBOX filter works perfectly ( I just replaced 
Intersects with BBOX in the above url)



http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=

Filter xmlns=http://www.opengis.net/ogc;http://www.opengis.net/ogc 
xmlns:gml=http://www.opengis.net/gml;http://www.opengis.net/gmlBBOXPropertyNamepoint/PropertyName

gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= 
-100.0,-45.0 100.0,45.0/gml:coordinates

/gml:Box

/BBOX

/Filter



But I cant make the INTERSECTS operation work. I would really appreciate if 
someone could point me to any examples of the INTERSECT operation used together 
with gml:box or Box.

 I have seen some examples of intersects used with gml:polygon, but it should 
work too with box, right??



Thanks for reading!



Joaquín

__

This message including any attachments may contain confidential

information, according to our Information Security Management System,

 and intended solely for a specific individual to whom they are addressed.

 Any unauthorised copy, disclosure or distribution of this message

 is strictly forbidden. If you have received this transmission in error,

 please notify the sender immediately and delete it.



__

Este mensaje, y en su caso, cualquier fichero anexo al mismo,

 puede contener informacion clasificada por su emisor como confidencial

 en el marco de su Sistema de Gestion de Seguridad de la

Informacion siendo para uso exclusivo del destinatario, quedando

prohibida su divulgacion copia o distribucion a terceros sin la

autorizacion expresa del remitente. Si Vd. ha recibido este mensaje

 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.

Gracias por su colaboracion.



__



___

mapserver-users mailing list

mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapserver-users






--



Assefa Yewondwossen

Software Analyst



Email: yass...@dmsolutions.camailto:yass...@dmsolutions.ca


Re: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Yewondwossen Assefa

On 30/03/2011 1:14 PM, Joaquín Rodriguez-Guerra Urcelay wrote:

Hi Yewondwossen,

Are you planning to include this fix in mapserver 6??
This was committed yesterday and should be available for 6.0 (and 5.6.8 
if released). I forgot to update the bug on that. It is done now.

I am still fighting with the sources, stuck in the error:  ld: cannot find 
-ltermcap
Hopefully fgs will create a new self-installer for mapserver 6 in a couple of 
months, or I should not expect that?

 I  can not say one way or the other about fgs installer. You can ask 
on the fgs mailing list or someone cam comment here.


best regards,



--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


Re: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Daniel Morissette

On 11-03-30 01:44 PM, Yewondwossen Assefa wrote:



I can not say one way or the other about fgs installer. You can ask on
the fgs mailing list or someone cam comment here.



Unfortunately FGS has fallen down the list of priorities in the last 
year or so. One of the reasons is that we put more efforts in native 
packages (e.g. UbuntuGIS, DebianGIS, etc.) and also the fact that we no 
longer have clients using it and supporting its maintenance.


I think there is still a need for FGS in some cases, and we still use it 
internally for development, but we'd need a new champion to take care of 
official releases.


--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

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


RE: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Joaquín Rodriguez-Guerra Urcelay
Hello, 

I was finally able to build the source code, and I am not getting the error 
anymore :D (with Latest Release Branch, with trunk wfs was not working for me)

But I am not getting the result I was expecting. Maybe I am wrong, but I 
thought that bbox operation would return all geometries contained in the box, 
and intersect would return all geometries contained in the box and also those 
who are not contained completely, but a part of them. Is this right??

In the following example I have a point in (10,10), and bbox filter in 
(-11,-11, -9,-9) returns the point :)

http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=
Filter xmlns=http://www.opengis.net/ogc; 
xmlns:gml=http://www.opengis.net/gml;BBOXPropertyNamepoint/PropertyName
gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= -11,-11 
-9,-9/gml:coordinates
/gml:Box
/BBOX
/Filter

?xml version='1.0' encoding=ISO-8859-1 ?
wfs:FeatureCollection
   xmlns:ms=http://mapserver.gis.umn.edu/mapserver;
   xmlns:wfs=http://www.opengis.net/wfs;
   xmlns:gml=http://www.opengis.net/gml;
   xmlns:ogc=http://www.opengis.net/ogc;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://www.opengis.net/wfs 
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
   http://mapserver.gis.umn.edu/mapserver 
http://localhost:8080/cgi-bin/mywfs?SERVICE=WFSamp;VERSION=1.0.0amp;REQUEST=DescribeFeatureTypeamp;TYPENAME=PositionRealamp;OUTPUTFORMAT=XMLSCHEMA;
  gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-10.00,-10.00 
-10.00,-10.00/gml:coordinates
/gml:Box
  /gml:boundedBy
gml:featureMember
  ms:PositionReal fid=PositionReal.1

gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-10.00,-10.00 
-10.00,-10.00/gml:coordinates
/gml:Box
/gml:boundedBy
ms:msGeometry
gml:Point srsName=EPSG:4326
  gml:coordinates-10.00,-10.00/gml:coordinates

/gml:Point
/ms:msGeometry
ms:id1/ms:id
  /ms:PositionReal
/gml:featureMember
/wfs:FeatureCollection


If I try the same query using intersect operation, I would expect the same 
result, but I obtain none

http://localhost:8080/cgi-bin/mywfs?WIDTH=512SERVICE=WFSVERSION=1.0.0request=getfeaturetypename=PositionRealFilter=
Filter xmlns=http://www.opengis.net/ogc; 
xmlns:gml=http://www.opengis.net/gml;IntersectsPropertyNamepoint/PropertyName
gml:Box srsName=WGS84(DD)gml:coordinates decimal=. cs=, ts= -11,-11 
-9,-9/gml:coordinates
/gml:Box
/Intersects
/Filter

?xml version='1.0' encoding=ISO-8859-1 ?
wfs:FeatureCollection
   xmlns:ms=http://mapserver.gis.umn.edu/mapserver;
   xmlns:wfs=http://www.opengis.net/wfs;
   xmlns:gml=http://www.opengis.net/gml;
   xmlns:ogc=http://www.opengis.net/ogc;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://www.opengis.net/wfs 
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
   http://mapserver.gis.umn.edu/mapserver 
http://localhost:8080/cgi-bin/mywfs?SERVICE=WFSamp;VERSION=1.0.0amp;REQUEST=DescribeFeatureTypeamp;TYPENAME=PositionRealamp;OUTPUTFORMAT=XMLSCHEMA;
  gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-1.00,-1.00 
-1.00,-1.00/gml:coordinates
/gml:Box
  /gml:boundedBy
/wfs:FeatureCollection

Forgive me if the results are right, and I just did not understand the 
operators, I am kind of new

Thank you for your help!!

PD: It is a shame FGS self-extract installer may not be available anymore, it 
was fantastic!

Joaquín 


De: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] En nombre de Daniel Morissette 
[dmorisse...@mapgears.com]
Enviado el: miércoles, 30 de marzo de 2011 19:57
Para: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] WFS Intersect with gml:box

On 11-03-30 01:44 PM, Yewondwossen Assefa wrote:

 I can not say one way or the other about fgs installer. You can ask on
 the fgs mailing list or someone cam comment here.


Unfortunately FGS has fallen down the list of priorities in the last
year or so. One of the reasons is that we put more efforts in native
packages (e.g. UbuntuGIS, DebianGIS, etc.) and also the fact that we no
longer have clients using it and supporting its maintenance.

I think there is still a need for FGS in some cases, and we still use it
internally for development, but we'd need a new champion to take care of
official releases.

--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

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

__
This 

Re: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Yewondwossen Assefa

On 30/03/2011 2:30 PM, Joaquín Rodriguez-Guerra Urcelay wrote:

Hello,

I was finally able to build the source code, and I am not getting the error 
anymore :D (with Latest Release Branch, with trunk wfs was not working for me)

But I am not getting the result I was expecting. Maybe I am wrong, but I 
thought that bbox operation would return all geometries contained in the box, 
and intersect would return all geometries contained in the box and also those 
who are not contained completely, but a part of them. Is this right??
I think intersects in this case really returns  only those features that 
intersect and not all that are completely contained.


Assefa
--


Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


[mapserver-users] DrawQuery problem

2011-03-30 Thread Oscar Testa


  
  
Hello,

i'am using mapserver in ubuntu Maverick (10.10). Php version is
5-3-3-1 ubuntu 9.3. 
Mapscript description:


  

  MapServer Version 
  MapServer version 5.6.6 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS
SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE 


  PHP MapScript Version 
  ($Revision: 10204 $ $Date: 2010-06-02 06:57:48
-0700 (Wed, 02 Jun 2010) $) 

  


I have a project in php, with connection to postgis. When
map-draw is called the image is generated correctly.
When i do a querybyrect query to the map, the drawquery doesn't draw
the image. 
If necesary i have debug information, and error log.

Please help, i can't find the problem!

Regards
Oscar
  

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


Re: [mapserver-users] WFS Intersect with gml:box

2011-03-30 Thread Rahkonen Jukka
Hi,

Intersect means the same as not disjoint, that the two geometries have at 
least one point in common. Thus WFS Intersects should select the point that is 
inside the box in the query. I made a quick test with OpenJUMP which is using 
JTS and it really does select such a point with a apatial query Intersects.

When it comes to Intersects and BBOX, I am remembering that the specs say that 
they are synonyms. I know that Geoserver has differentiated them in such a way 
that Intersects is doing a real comparison of geometries which gives 
topologically correct result but which may be slow.  BBOX is doing the 
comparison by using the bounding boxes of the geometries which can be much 
faster but it may select features which are actually disjoint. Two parallel 
lines is one example. Therefore BBOX with Geoserver always gives at least as 
many features as Intersects.

I made a quick search and this seems to be good reading:
http://gis.hsr.ch/wiki/images/3/3d/9dem_springer.pdf

-Jukka Rahkonen-

-Alkuperäinen viesti-
Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: Yewondwossen Assefa
Lähetetty: ke 30.3.2011 22:34
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] WFS Intersect with gml:box
 
On 30/03/2011 2:30 PM, Joaquín Rodriguez-Guerra Urcelay wrote:
 Hello,

 I was finally able to build the source code, and I am not getting the error 
 anymore :D (with Latest Release Branch, with trunk wfs was not working for me)

 But I am not getting the result I was expecting. Maybe I am wrong, but I 
 thought that bbox operation would return all geometries contained in the box, 
 and intersect would return all geometries contained in the box and also those 
 who are not contained completely, but a part of them. Is this right??
I think intersects in this case really returns  only those features that 
intersect and not all that are completely contained.

Assefa
-- 


Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
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] Build/download site unavailable

2011-03-30 Thread Tamas Szekeres
Works for me, currently.

Best regards,

Tamas



2011/3/30 Anzel, Phil - Fort Collins, CO phil.an...@ftc.usda.gov

 Hi, All,

 Is the MapServer binary download site site 
 http://vbkto.dyndns.org/sdk/offline? I'm seeing timeouts when attempting to 
 connect.

 Thanks.

 - Phil Anzel
 Web Soil Survey developer
 Vistronix Inc. for USDA/NRCS/ITC
 ___
 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] Build/download site unavailable

2011-03-30 Thread Anzel, Phil - Fort Collins, CO
Thanks for checking, Tamas. I’ll look at our internal network. - Phil

From: Tamas Szekeres [mailto:szeker...@gmail.com]
Sent: Wednesday, March 30, 2011 2:25 PM
To: Anzel, Phil - Fort Collins, CO
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Build/download site unavailable

Works for me, currently.

Best regards,

Tamas


2011/3/30 Anzel, Phil - Fort Collins, CO 
phil.an...@ftc.usda.govmailto:phil.an...@ftc.usda.gov
Hi, All,

Is the MapServer binary download site site http://vbkto.dyndns.org/sdk/ 
offline? I'm seeing timeouts when attempting to connect.

Thanks.

- Phil Anzel
Web Soil Survey developer
Vistronix Inc. for USDA/NRCS/ITC
___
mapserver-users mailing list
mapserver-users@lists.osgeo.orgmailto: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] WFS Intersect with gml:box

2011-03-30 Thread Yewondwossen Assefa

On 30/03/2011 4:16 PM, Rahkonen Jukka wrote:

Hi,

Intersect means the same as not disjoint, that the two geometries have at least one 
point in common. Thus WFS Intersects should select the point that is inside the box in the query. 
I made a quick test with OpenJUMP which is using JTS and it really does select such a point with a apatial 
query Intersects.

 Geos lib used by MapServer should  act the same as JTS I beleive.  
Joaquín, you can maybe attach your simple map/data/url to the bug and I 
will check it using MapServer trunk.



--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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