[Live-demo] JTS on OSGeo-Live

Brian Hamlin maplabs at light42.com
Tue Oct 23 19:21:16 PDT 2012


I "discovered" JTS Test Builder in 2007 (when I started in Geo).. it  
would be a fine addition IMO
  I still fire it up now and then.. Mac and Linux..  though not as  
neatly as Jody
shown below.. and without ant..

--
cd $src_dir
java -classpath "jdom.jar:xerces.jar:JTS_Test.jar:jts-1.8.jar"  
com.vividsolutions.jtstest.testbuilder.JTSTestBuilder


--
Brian Hamlin
OSGeo California Chapter
415-717-4462 cell



On Oct 23, 2012, at 6:17 PM, Cameron Shorter wrote:

> I hope no one CCed minds if we take this thread back to the live  
> email list, so we can capture the technical discussion.
>
> On 24/10/2012 12:13 PM, Jody Garnett wrote:
>> I have done the overview / fact sheet; waiting for a review on the  
>> live-demo email list. For my purposes (explaining what GIS is as  
>> part of an "OSGeo-Live" talk) having the fact sheet is enough.
>>
>> However the JTS desktop tool would be an *amazing* addition to  
>> OSGeo-Live for use in an educational context, the ability to take  
>> a class enter in a couple geometries and have them try out the  
>> operations would be far better then explaining this in PostGIS and  
>> pgAdmin.
>>
>> install steps:
>>
>> 1) Download http://sourceforge.net/projects/jts-topo-suite/files/ 
>> jts/1.12/jts-1.12.zip/download
>> 2) Unzip
>> 3) Copy in the following build.xml
>>
>> <project name="JTS" basedir="." default="run">
>>
>>     <property name="lib"     value="lib"/>
>>     <property name="main-class"   
>> value="com.vividsolutions.jtstest.testbuilder.JTSTestBuilder"/>
>>
>>     <path id="classpath">
>>         <fileset dir="${lib}" includes="**/*.jar"/>
>>     </path>
>>
>>     <target name="run">
>>         <java fork="true" classname="${main-class}">
>>             <classpath>
>>                 <path refid="classpath"/>
>>                 <path location="${jar.dir}/${ant.project.name}.jar"/>
>>             </classpath>
>>         </java>
>>     </target>
>>
>> </project>
>>
>> 4) Type the following on the command line:
>>
>> ant
>>
>> -- 
>> Jody Garnett
>>
>> On Wednesday, 24 October 2012 at 10:57 AM, Stefan Steiniger wrote:
>>
>>> Ah ok, I had the same question as Landon w.r.t. an installer.
>>> So the question remaining is Landons other question:
>>> What is the schedule?
>>>
>>> I could imagine to do the fact-sheet for JTS (though - its for  
>>> JTS not
>>> the testbuilder - which I agree, is a nifty tool; at least for  
>>> teaching)
>>> and maybe a short intro. But I think Landon did do the latter  
>>> already?
>>>
>>> Installer... depends... maybe we can ask Ede from OJ for advise  
>>> (but he
>>> also had a full plate ;)
>>>
>>> cheers,
>>> stefan
>>>
>>>
>>> Am 23.10.12 17:16, schrieb Martin Davis:
>>>> Right now you have to use a BAT/SH file to run them. I haven't done
>>>> the work to make them JAR-launchable.
>>>>
>>>> On Tue, Oct 23, 2012 at 12:58 PM, Landon Blake  
>>>> <lblake at ksninc.com> wrote:
>>>>> Roger. Are those typically executed by double clicking on a JAR  
>>>>> or by
>>>>> using a BAT file?
>>>>>
>>>>>
>>>>> Landon Blake, P.L.S.
>>>>> Project Surveyor
>>>>> Kjeldsen, Sinnock & Neudeck, Inc.
>>>>> 711 N. Pershing Avenue, Stockton CA 95203
>>>>> 209 946-0268 | fax: 209 946-0296
>>>>> lblake at ksninc.com | http://www.ksninc.com
>>>>>
>>>>> Warning:
>>>>> Information provided via electronic media is not guaranteed  
>>>>> against defects including translation and transmission errors.  
>>>>> If the reader is not the intended recipient, you are hereby  
>>>>> notified that any dissemination, distribution or copying of  
>>>>> this communication is strictly prohibited. If you have received  
>>>>> this information in error, please notify the sender immediately.
>>>>>
>>>>> -----Original Message-----
>>>>> From: Martin Davis [mailto:mtnclimb at gmail.com]
>>>>> Sent: Tuesday, October 23, 2012 12:58 PM
>>>>> To: Landon Blake
>>>>> Cc: Cameron Shorter; Jody; Stefan Steiniger
>>>>> Subject: Re: [Live-demo] JTS on OSGeo-Live
>>>>>
>>>>> JTS comes with a couple of user-level tools - the TestBuilder  
>>>>> and the
>>>>> TestRunner. The TestRunner is a bit esoteric, but the  
>>>>> TestBuilder I
>>>>> think would make a fine tool to be installed on the Quickstart.
>>>>>
>>>>> M
>>>>>
>>>>> On Tue, Oct 23, 2012 at 12:33 PM, Landon Blake <lblake at ksninc.com>
>>>>> wrote:
>>>>>> JTS is an important library, so I will make time to assist.
>>>>>>
>>>>>> I know a bit about the Quickstart. What do you mean by  
>>>>>> "installer"?
>>>>>> JTS is really a library and not an application, so I'm not  
>>>>>> sure what
>>>>>> we would need for an installer.
>>>>>>
>>>>>> Let me know more about that and I will get started. What is our
>>>>>> timeline for this little project?
>>>>>>
>>>>>> Landon
>>>>>>
>>>>>>
>>>>>> Landon Blake, P.L.S.
>>>>>> Project Surveyor
>>>>>> Kjeldsen, Sinnock & Neudeck, Inc.
>>>>>> 711 N. Pershing Avenue, Stockton CA 95203
>>>>>> 209 946-0268 | fax: 209 946-0296
>>>>>> lblake at ksninc.com | http://www.ksninc.com
>>>>>>
>>>>>> Warning:
>>>>>> Information provided via electronic media is not guaranteed  
>>>>>> against
>>>>> defects including translation and transmission errors. If the  
>>>>> reader is
>>>>> not the intended recipient, you are hereby notified that any
>>>>> dissemination, distribution or copying of this communication is  
>>>>> strictly
>>>>> prohibited. If you have received this information in error, please
>>>>> notify the sender immediately.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Cameron Shorter [mailto:cameron.shorter at gmail.com]
>>>>>> Sent: Tuesday, October 23, 2012 12:24 PM
>>>>>> To: Martin Davis
>>>>>> Cc: Jody; Landon Blake; Stefan Steiniger
>>>>>> Subject: Re: [Live-demo] JTS on OSGeo-Live
>>>>>>
>>>>>> Landon, Stefan,
>>>>>> I'm wondering if either (or both) of you would be able to help  
>>>>>> get JTS
>>>>>
>>>>>> onto OSGeo-Live.
>>>>>>
>>>>>> Jody has started, by writing a Project Overview.
>>>>>> We still need an installer and Quickstart.
>>>>>>
>>>>>> On Monday, 22 October 2012 at 11:59, Martin Davis wrote:
>>>>>>
>>>>>> Guys,
>>>>>>
>>>>>> I'm happy to have JTS included on OSGeo Live, but the sad fact  
>>>>>> is I
>>>>>> just don't have any time right now to prepare the necessary  
>>>>>> artifacts
>>>>> myself.
>>>>>> If someone else wants to take this on I'm happy to advise, but
>>>>>> otherwise JTS will have to continue to languish in obscurity...
>>>>>>
>>>>>> Martin
>>>>>>
>>>>>>
>>>>>> On 23/10/12 10:48, Martin Davis wrote:
>>>>>>> On Mon, Oct 22, 2012 at 4:30 PM, Cameron Shorter
>>>>>>> <cameron.shorter at gmail.com> wrote:
>>>>>>>> Martin, if we find someone to write the docs and installer,  
>>>>>>>> are you
>>>>>>>> prepared to review it?
>>>>>>>> Can you suggest a likely candidate who might be willing to  
>>>>>>>> help out?
>>>>>>> Yes, certainly, happy to review it.
>>>>>>>
>>>>>>> Possibly Landon (Sunburned Surveyor)? He has been interested  
>>>>>>> in JTS
>>>>>>> documentation in the past. Another possibility is Stefan  
>>>>>>> Steineger.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Cameron Shorter
>>>>>> Geospatial Solutions Manager
>>>>>> Tel: +61 (0)2 8570 5050
>>>>>> Mob: +61 (0)419 142 254
>>>>>>
>>>>>> Think Globally, Fix Locally
>>>>>> Geospatial Solutions enhanced with Open Standards and Open Source
>>>>>> http://www.lisasoft.com
>>
>
>
> -- Cameron Shorter Geospatial Solutions Manager Tel: +61 (0)2 8570  
> 5050 Mob: +61 (0)419 142 254 Think Globally, Fix Locally Geospatial  
> Solutions enhanced with Open Standards and Open Source http:// 
> www.lisasoft.com
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
> http://live.osgeo.org
> http://wiki.osgeo.org/wiki/Live_GIS_Disc



More information about the Live-demo mailing list