Ticket #170 (new defect)

Opened 10 months ago

Last modified 10 months ago

Problems using single KML point in MapServer service

Reported by: jmckenna Owned by:
Priority: blocker Milestone:
Component: zoo-kernel Version:
Keywords: Cc: jmckenna@…

Description

Problem 1:

  • generated WFS GetFeature? URL never returns any geometry
  • cause: extent values in several locations of service_internal_ms.c are written in rounded decimals causing problems with the GetFeature? request (incorrect "bbox" values)
  • attaching changes to service_internal_ms.c (sorry I think it also includes your earlier patch changes)

Problem 2:

  • Result always fails with the message "No message provided"
  • cause: there seems to be a missing set of if{} brackets in the file response_print.c causing
  • attaching change to response_print.c

Attachments (2)

service_internal_ms.patch (5.8 KB) - added by jmckenna 10 months ago.
service_internal_ms.ca patch
response_print.patch (579 bytes) - added by jmckenna 10 months ago.
response_print.c patch

Download all attachments as: .zip

Change History

Changed 10 months ago by jmckenna

service_internal_ms.ca patch

Changed 10 months ago by jmckenna

response_print.c patch

Changed 10 months ago by jmckenna

  • cc jmckenna@… added

Generated WFS GetFeature? request, before changes (returns no geometry) :

http://127.0.0.1/cgi-bin/mapserv.exe?
map=C:/ms4w/apps/zoo-project/data/Result_0_70779340-8f99-420e-895d-461fb976f58b.map&
request=GetFeature&
service=WFS&
version=1.0.0&
typename=Result&
format=text/xml&
bbox=-64.257697,44.359673,-64.257697,44.359673&
crs=EPSG:4326

Generated WFS GetFeature? request, with changes (returns valid geometry) :

http://127.0.0.1/cgi-bin/mapserv.exe?
map=C:/ms4w/apps/zoo-project/data/Result_0_3d769c0d-30f3-4a9d-bd6e-4cdb4afa4ff5.map&
request=GetFeature&
service=WFS&
version=1.0.0&
typename=Result&
format=text/xml
&bbox=-64.257696600000003,44.359673100000002,-64.257696600000003,44.359673100000002&
crs=EPSG:4326
Note: See TracTickets for help on using tickets.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png