Changes between Version 59 and Version 60 of ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices


Ignore:
Timestamp:
Oct 23, 2010, 3:02:54 PM (9 years ago)
Author:
djay
Comment:

Support float as BufferDistance? rather than only integer value...

Legend:

Unmodified
Added
Removed
Modified
  • ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices

    v59 v60  
    853853  else
    854854    geometry=createGeometryFromWFS(conf,tmp->value);
    855   int bufferDistance=1;
     855  double bufferDistance=1;
    856856  tmp=getMapFromMaps(inputs,"BufferDistance","value");
    857857  if(tmp!=NULL)
    858     bufferDistance=atoi(tmp->value);
     858    bufferDistance=atof(tmp->value);
    859859  res=OGR_G_Buffer(geometry,bufferDistance,30);
    860860  tmp1=getMapFromMaps(outputs,"Result","mimeType");

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