Frank Warmerdam | 1 Jun 2010 05:29
Picon
Favicon
Gravatar

WKTReader requiring uppercase keywords?

Folks,

Does anyone know why the WKTReader requires the WKT keywords like "POINT" to
be in upper case?   This seems needlessly pendantic, and I'd like to relax
it so that mixed and lower case keywords work as well.  This is convenient
for me when hand preparing WKT for SQL operations.

Best regards,
--

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam <at> pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
OHTSUKA Ko-hei | 1 Jun 2010 10:08

Is there a license problem to use GEOS in iPhone App?

Hello,

I want to use GEOS in iPhone App, as base of spatialite library.
But GEOS is LGPL License, and Apple forces all Applications must be
made as Static linked binary.

Is there any way to use GEOS in iPhone App?

Regards,

Ko-hei

--

-- 
HTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHT

株式会社ATR-Promotions ミュージアムメディア事業部
プロデューサ
大塚 恒平

〒619-0228「けいはんな学術学研都市」光台2-2-2
 TEL:0774-95-2636 FAX:0774-95-1191
Mail:kohtsuka <at> atr-p.com

HTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHT
Paul Ramsey | 1 Jun 2010 13:53
Favicon
Gravatar

Re: WKTReader requiring uppercase keywords?

Fine w/ me.

P

On Mon, May 31, 2010 at 11:29 PM, Frank Warmerdam <warmerdam <at> pobox.com> wrote:
> Folks,
>
> Does anyone know why the WKTReader requires the WKT keywords like "POINT" to
> be in upper case?   This seems needlessly pendantic, and I'd like to relax
> it so that mixed and lower case keywords work as well.  This is convenient
> for me when hand preparing WKT for SQL operations.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam <at> pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
> _______________________________________________
> geos-devel mailing list
> geos-devel <at> lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
David Turner | 1 Jun 2010 15:27
Gravatar

Re: Is there a license problem to use GEOS in iPhone App?

On Tue, 2010-06-01 at 17:08 +0900, OHTSUKA Ko-hei wrote:
> Hello,
> 
> I want to use GEOS in iPhone App, as base of spatialite library.
> But GEOS is LGPL License, and Apple forces all Applications must be
> made as Static linked binary.
> 
> Is there any way to use GEOS in iPhone App?

The LGPL doesn't forbid static linking -- it just requires that you
provide a relinkable version.  Basically, if you provide the .o files
and makefiles for your proprietary app, and the source code for GEOS,
then users can change the library and rebuild your app.

However, you're going to have a *different* problem:
http://www.fsf.org/news/2010-05-app-store-compliance/
Mateusz Loskot | 1 Jun 2010 16:29
Gravatar

Re: WKTReader requiring uppercase keywords?


Frank Warmerdam wrote:
> Does anyone know why the WKTReader requires the WKT keywords like "POINT"
> to be in upper case?

Original OGC spefication of BNF was not clear about case-sensitivity of
Well-Known-Text
and perhaps GEOS assumed it's safer to follow WKT examples presented by OGC.
More recent spec is more specific and says: "Well known text is case
insensitive."

There was similar discussion http://trac.osgeo.org/postgis/ticket/332

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

-----
-- 
Mateusz Loskot
http://mateusz.loskot.net
--

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WKTReader-requiring-uppercase-keywords-tp5124345p5126246.html
Sent from the GEOS Developers mailing list archive at Nabble.com.
Frank Warmerdam | 1 Jun 2010 16:42
Picon
Favicon
Gravatar

Re: Re: WKTReader requiring uppercase keywords?

Mateusz Loskot wrote:
> 
> Frank Warmerdam wrote:
>> Does anyone know why the WKTReader requires the WKT keywords like "POINT"
>> to be in upper case?
> 
> Original OGC spefication of BNF was not clear about case-sensitivity of
> Well-Known-Text
> and perhaps GEOS assumed it's safer to follow WKT examples presented by OGC.
> More recent spec is more specific and says: "Well known text is case
> insensitive."
> 
> There was similar discussion http://trac.osgeo.org/postgis/ticket/332

Mateusz,

Excellent, I'll make the WKTReader case insensitive.

Best regards,
--

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam <at> pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
Ramie Blatt | 3 Jun 2010 19:38
Favicon

Re: SWIG Ruby bindings on OS X


Hi there, I came across this post and thought I'd share my experiences. This
may be out of date, but here's the last crucial step I took to get it
working:

On Mac OS you need to rename the "geos.so" file in the ruby extension/plugin
directory to "geos.bundle". When you do the ./configure step above it will
display what your system's ruby extension directory is. You will need to
scroll up through the output to find the line: "Ruby extension directory is
'XYZ'. So, for e.g., if your ruby extension directory is
/usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/ then do the following:

 cd /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/
 mv geos.so geos.bundle

Confirm correct installation by requiring GEOS in irb, you should have the
result "true":

 irb
 irb(main):001:0> require 'geos'
 => true
--

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/SWIG-Ruby-bindings-on-OS-X-tp4156738p5136112.html
Sent from the GEOS Developers mailing list archive at Nabble.com.
OHTSUKA Ko-hei | 9 Jun 2010 11:27

Re: Is there a license problem to use GEOS in iPhone App?

Thanks, David, I forgot about it.
Your advice is very helpful for me.

2010/6/1 David Turner <novalis <at> novalis.org>:
> On Tue, 2010-06-01 at 17:08 +0900, OHTSUKA Ko-hei wrote:
>> Hello,
>>
>> I want to use GEOS in iPhone App, as base of spatialite library.
>> But GEOS is LGPL License, and Apple forces all Applications must be
>> made as Static linked binary.
>>
>> Is there any way to use GEOS in iPhone App?
>
> The LGPL doesn't forbid static linking -- it just requires that you
> provide a relinkable version.  Basically, if you provide the .o files
> and makefiles for your proprietary app, and the source code for GEOS,
> then users can change the library and rebuild your app.
>
> However, you're going to have a *different* problem:
> http://www.fsf.org/news/2010-05-app-store-compliance/
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel <at> lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>

--

-- 
HTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHTHT
(Continue reading)

Paul Ramsey | 9 Jun 2010 17:55
Picon
Gravatar

FOSS4G 2010 Early Bird Deadline: June 15

If you plan to come to Barcelona, Spain for the Free and Open Source
Software for Geospatial conference in Semptember this year, then you
best register right now, as early bird registration ends this Tuesday
15 June 2010.
http://2010.foss4g.org/registration.php

FOSS4G is the international Free and Open Source Software for
Geospatial conference, which comes to Barcelona, Spain, 6-9 September
2010.
Maxime van Noppen | 11 Jun 2010 11:15

Missing const on Geometry::isWithinDistance

Hi,

It seems that the method Geometry::isWithinDistance is const while not
flagged as such. Could it be possible to make it const ?

Thanks,

--

-- 
Maxime

Gmane