Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2015 > unrolled thread

creating an ESRI shapefil

Started by"spud_g00" <spud_g00@THRWHITE.remove-dii-this>
First post2011-04-27 15:36 +0000
Last post2011-04-27 15:36 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.lang.java.gui


Contents

  creating an ESRI shapefil "spud_g00" <spud_g00@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
    Re: creating an ESRI shap "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
      Re: creating an ESRI shap "Spud Demon" <spud.demon@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
        Re: creating an ESRI shap "Jim Korman" <jim.korman@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

#2015 — creating an ESRI shapefil

From"spud_g00" <spud_g00@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
Subjectcreating an ESRI shapefil
Message-ID<1184179480.871939.254830@22g2000hsm.googlegroups.com>
  To: comp.lang.java.gui
I need to create an ESRI shapefile set (.shp, .shx, .dbf) from an
object.  The object is drawn to the screen -- or any Graphics2D -- via
its draw() method, so a good starting point would be an implementation
of Graphics2D which writes to a shapefile instead of the screen.

Does anybody know of a good library to help with the creation of
shapefiles in Java?

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#2043 — Re: creating an ESRI shap

From"Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
SubjectRe: creating an ESRI shap
Message-ID<46981036$0$4708$4c368faf@roadrunner.com>
In reply to#2015
  To: comp.lang.java.gui
spud_g00@thundermaker.net wrote:
> I need to create an ESRI shapefile set (.shp, .shx, .dbf) from an
> object.  The object is drawn to the screen -- or any Graphics2D -- via
> its draw() method, so a good starting point would be an implementation
> of Graphics2D which writes to a shapefile instead of the screen.
> 
> Does anybody know of a good library to help with the creation of
> shapefiles in Java?
> 

Does ESRI provide anything in their APIs?

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2045 — Re: creating an ESRI shap

From"Spud Demon" <spud.demon@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
SubjectRe: creating an ESRI shap
Message-ID<1184378861.500431.83720@g4g2000hsf.googlegroups.com>
In reply to#2043
  To: comp.lang.java.gui
On Jul 13, 11:52 pm, Brandon McCombs <n...@none.com> wrote:
> spud_...@thundermaker.net wrote:
> > I need to create an ESRI shapefile set (.shp, .shx, .dbf) from an
> > object.  The object is drawn to the screen -- or any Graphics2D -- via
> > its draw() method, so a good starting point would be an implementation
> > of Graphics2D which writes to a shapefile instead of the screen.
>
> > Does anybody know of a good library to help with the creation of
> > shapefiles in Java?
>
> Does ESRI provide anything in their APIs?

As a matter of fact their MapObjects product does.  But the project
I'm doing this for doesn't use MapObjects, and it would be more
complicated to convert my data to MapObjects features than to
implement my own shapefile writer.

Same goes for OpenMap.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#2057 — Re: creating an ESRI shap

From"Jim Korman" <jim.korman@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
SubjectRe: creating an ESRI shap
Message-ID<le8i93hi7h12417kk2ca7t52m2b5oiruhr@4ax.com>
In reply to#2045
  To: comp.lang.java.gui
On Fri, 13 Jul 2007 19:07:41 -0700, Spud Demon
<spud_g00@thundermaker.net> wrote:

>On Jul 13, 11:52 pm, Brandon McCombs <n...@none.com> wrote:
>> spud_...@thundermaker.net wrote:
>> > I need to create an ESRI shapefile set (.shp, .shx, .dbf) from an
>> > object.  The object is drawn to the screen -- or any Graphics2D -- via
>> > its draw() method, so a good starting point would be an implementation
>> > of Graphics2D which writes to a shapefile instead of the screen.
>>
>> > Does anybody know of a good library to help with the creation of
>> > shapefiles in Java?
>>
>> Does ESRI provide anything in their APIs?
>
>As a matter of fact their MapObjects product does.  But the project
>I'm doing this for doesn't use MapObjects, and it would be more
>complicated to convert my data to MapObjects features than to
>implement my own shapefile writer.
>
>Same goes for OpenMap.

check out the geotools api..

http://geotools.codehaus.org/Features

as a starting point, specifically the

org.geotools.feature  and
org.geotools.data

contain most of what is needed.

Jim

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web