[mapserver-users] wfs error gml:nullmissing/gml:null

2010-05-19 Thread Luca Delucchi
I everebody, this is my first post. I'm an italian GFOSS user, I
developed several service using mapserver before this, but never I had
this error and I cannot found a solution.
I developed a WFS service, the GetCapabilities work well but when I
try the GetFeatures it return an error

wfs:FeatureCollection 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://acesap.fem-environment.eu/mapserv/wfs_acesap?SERVICE=WFSVERSION=1.0.0REQUEST=DescribeFeatureTypeTYPENAME=ACESAP_field_dataOUTPUTFORMAT=XMLSCHEMA;
-
gml:boundedBy
gml:nullmissing/gml:null
/gml:boundedBy
/wfs:FeatureCollection

someone can help me?

I am attaching the mapfile if necessary, but I checked several times
and showed others Italians and looks good

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


Re: [mapserver-users] wfs error gml:nullmissing/gml:null

2010-05-19 Thread Rahkonen Jukka
Hi,

I believe it is not an error, it is just an empty collection. Perhaps
you have not done all that is needed to activate the WFS gml output,
like adding to LAYER definitions DUMP TRUE and gml_include_items. Or
if you used some spatial filter it could have been outside the area
covered by your data.


-Jukka Rahkonen-

Luca Delucchi wrote:

 I everebody, this is my first post. I'm an italian GFOSS user, I
 developed several service using mapserver before this, but never I had
 this error and I cannot found a solution.
 I developed a WFS service, the GetCapabilities work well but when I
 try the GetFeatures it return an error
 
 wfs:FeatureCollection 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://acesap.fem-environment.eu/mapserv/wfs_acesap?SERVICE=WF
 SVERSION=1.0.0REQUEST=DescribeFeatureTypeTYPENAME=ACESAP_fi
 eld_dataOUTPUTFORMAT=XMLSCHEMA
 -
 gml:boundedBy
 gml:nullmissing/gml:null
 /gml:boundedBy
 /wfs:FeatureCollection
 
 someone can help me?
 
 I am attaching the mapfile if necessary, but I checked several times
 and showed others Italians and looks good
 
 thanks
 Luca
 ___
 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 error gml:nullmissing/gml:null

2010-05-19 Thread Luca Delucchi
2010/5/19 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
 Hi,


hi, thank's for your fast reply

 I believe it is not an error, it is just an empty collection. Perhaps
 you have not done all that is needed to activate the WFS gml output,
 like adding to LAYER definitions DUMP TRUE and gml_include_items. Or
 if you used some spatial filter it could have been outside the area
 covered by your data.

I already set DUMP TRUE and gml_include_items, and I use none spatial
filter, my layer configuration is this

LAYER
   NAME ACESAP_field_data
   TYPE POINT
   STATUS on
   CONNECTIONTYPE POSTGIS
   CONNECTION dbname= user=* password=* host=localhost
   DATA geom from tabella_wfs using unique id using srid=4326
   DUMP TRUE
   PROJECTION
   init=epsg:4326
   END
   CLASS
   STYLE
   SYMBOL 'circle1'
   OUTLINECOLOR 238 201 0
   END
   END
   METADATA
   wfs_title ACESAP_field_data
   gml_featureid id
   wfs_srs  EPSG:4326
   gml_include_items all
   END
   END


 -Jukka Rahkonen-


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


Re: [mapserver-users] wfs error gml:nullmissing/gml:null

2010-05-19 Thread Rahkonen Jukka
Hi, 

Everything seems to be OK. Your layer is visible through WMS, getCapabilities 
works as well as describeFeatureType. Only odd thing is the getCapabilities 
informs that the featureType is in EPSG:900913, but I do not understand how it 
is possible:
FeatureType
NameACESAP_field_data/Name
TitleACESAP_field_data/Title
SRSEPSG:900913/SRS
LatLongBoundingBox minx=7.23965 miny=40.4057 maxx=15.9559 
maxy=46.9069/
/FeatureType

-Jukka-


 -Alkuperäinen viesti-
 Lähettäjä: Luca Delucchi [mailto:lucadel...@gmail.com] 
 Lähetetty: 19. toukokuuta 2010 12:45
 Vastaanottaja: Rahkonen Jukka
 Kopio: mapserver-users@lists.osgeo.org
 Aihe: Re: [mapserver-users] wfs error gml:nullmissing/gml:null
 
 2010/5/19 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
  Hi,
 
 
 hi, thank's for your fast reply
 
  I believe it is not an error, it is just an empty 
 collection. Perhaps
  you have not done all that is needed to activate the WFS gml output,
  like adding to LAYER definitions DUMP TRUE and 
 gml_include_items. Or
  if you used some spatial filter it could have been outside the area
  covered by your data.
 
 I already set DUMP TRUE and gml_include_items, and I use none spatial
 filter, my layer configuration is this
 
 LAYER
NAME ACESAP_field_data
TYPE POINT
STATUS on
CONNECTIONTYPE POSTGIS
CONNECTION dbname= user=* 
 password=* host=localhost
DATA geom from tabella_wfs using unique id 
 using srid=4326
DUMP TRUE
PROJECTION
init=epsg:4326
END
CLASS
STYLE
SYMBOL 'circle1'
OUTLINECOLOR 238 201 0
END
END
METADATA
wfs_title ACESAP_field_data
gml_featureid id
wfs_srs  EPSG:4326
gml_include_items all
END
END
 
 
  -Jukka Rahkonen-
 
 
 cheers
 Luca
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] What is means wfs_featuresId

2010-05-19 Thread Tonton
i read

Field to be used for the ID of the feature in the output GML in mapserver
documentation

Does it means any existing column name i want to use ?



Thanks

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


[mapserver-users] coordinate transformation

2010-05-19 Thread ahmet temiz
hello

Is there any class (java) which enables us to  coordinate
transformation of a point from UTM to geographic in mapserver ?


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


Re: [mapserver-users] wfs error gml:nullmissing/gml:null

2010-05-19 Thread Luca Delucchi
2010/5/19 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
 Hi,

 Everything seems to be OK. Your layer is visible through WMS, getCapabilities 
 works as well as describeFeatureType. Only odd thing is the getCapabilities 
 informs that the featureType is in EPSG:900913, but I do not understand how 
 it is possible:

In web section I set the metadata wfs_srs like this   EPSG:900913
EPSG:4326, but the web section would be for the output...


 -Jukka-


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


Re: [mapserver-users] WFS featureislike and bbox filter required?

2010-05-19 Thread Yewondwossen Assefa

Is it possible that the extents values in your  map file are not set?

regards,

On 18/05/2010 5:40 PM, mattmendick wrote:

Hi All-

I'm trying to query mapserver's wfs service (layer's data is backed by
postgis) using the following post: (excuse the parentheses instead of's,
they are from some debug code)

(wfs:GetFeature service=WFS version=1.1.0 resultType='results'
xmlns:wfs=http://www.opengis.net/wfs;
xmlns:ogc=http://www.opengis.net/ogc;
xmlns:gml=http://www.opengis.net/gml;) (wfs:Query srsName=EPSG:4326
typeName=ms:delaware_highway)
(ogc:PropertyName)name(/ogc:PropertyName)
(ogc:PropertyName)geom(/ogc:PropertyName)
(ogc:Filter)
   (ogc:PropertyIsLike wildCard=* singleChar=. escape=!)
  (ogc:PropertyName)name(/ogc:PropertyName)
  (ogc:Literal)*Wil*(/ogc:Literal)
   (/ogc:PropertyIsLike)
(/ogc:Filter)
(/wfs:Query)
(/wfs:GetFeature)


I don't get back any results, but when I specify a bounding box, let's say a
global bounding box to make it easy, I get back all the relevant results.

(wfs:GetFeature service=WFS version=1.1.0 resultType='results'
xmlns:wfs=http://www.opengis.net/wfs;
xmlns:ogc=http://www.opengis.net/ogc;
xmlns:gml=http://www.opengis.net/gml;) (wfs:Query srsName=EPSG:4326
typeName=ms:delaware_highway)
(ogc:PropertyName)name(/ogc:PropertyName)
(ogc:PropertyName)geom(/ogc:PropertyName)
(ogc:Filter)
   ogc:And
  ogc:BBOX
 ogc:PropertyNamegeom/ogc:PropertyName
 gml:Envelope srsName=EPSG:4326
 gml:lowerCorner-180 -90/gml:lowerCorner
 gml:upperCorner180 90/gml:upperCorner
 /gml:Envelope
  /ogc:BBOX
  (ogc:PropertyIsLike wildCard=* singleChar=. escape=!)
 (ogc:PropertyName)name(/ogc:PropertyName)
 (ogc:Literal)*Wil*(/ogc:Literal)
  (/ogc:PropertyIsLike)
   /ogc:And
(/ogc:Filter)
(/wfs:Query)
(/wfs:GetFeature)

Is the bbox filter necessary to do a property is like?  When I don't specify
the bounding box, the postgres query has this intersect clause: where
wkb_geometry  GeomFromText('POLYGON((-1 -1,-1 -1,-1 -1,-1 -1,-1 -1))

Is this trying to tell me that I need to add the bbox, or is this a bug?

Thanks for your help!
   



--

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] Re: WFS featureislike and bbox filter required?

2010-05-19 Thread mattmendick

Thanks for the response, it certainly was possible but I checked, and they
are filled in. They are currently set to a global extent (my ingestion is
fairly automated and I didn't want to calculate the extent programatically
because that takes a long time). However, when I change to the correct
extent, the behavior is still the same.

Thanks for the input, though.

Any other ideas?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WFS-featureislike-and-bbox-filter-required-tp5072300p5075067.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] creating dynamic map from php mapscript

2010-05-19 Thread Jeff McKenna

Felipe Alcacibar wrote:

I am using MapServer 5.6.3, and php mapscript, and i am making the
maps dynamicly with mapscript for php, but now when i update mapserver
i cannot read the
mapserver file, i got the following error.

Warning: [MapServer Error]: msProcessProjection(): major axis or
radius = 0 or not given in res/include/gis.map.php on line 5

Warning: Failed to open map file res/include/../map/main.map in
res/include/gis.map.php
on line 5

i am probing with different types but i cannot create a map, i am testing with

MAP
   NAMElalalala
   EXTENT  -180 -90 180 90
   SIZE320 250
   IMAGECOLOR 255 255 255
   PROJECTION
   init=epsg:4326
   END
END

i cannot know what i do, someone could help me



Does that small test file work with the shp2img command?  If you get the 
same error, you could use the PROJ.4 parameters instead, such as:


   PROJECTION
 proj=latlong
 ellps=WGS84
   END

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





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