names are case sensitive. Is everything in Java case-sensitive? I'm
On Mar 21, 4:56 pm, "Martin Davis" <
mtncl...@gmail.com> wrote:
> Oh, and as for the two ways to call ShapefileReader - they are equivalent.
> Jeql Commands have the concept of a default parameter. In the case of
> ShapefileReader (and for most other Readers) the default parameter is the
> table variable which is populated with the read table. The table:
> parameter is just a synonym for the same thing.
>
> This will all be documented as soon as I can get to it!
>
> By the way, you do need to initialize the table variable you are using. The
> line "t1 = null;" will do it. I'm contemplating dropping this requirment,
> or at least replacing it with a declaration stmt. The idea is to prevent
> typos from creating "phantom variable" errors - but possibly this is
> overkill. Seems like plenty of other scripting langs get by without this!
>
> M
>
> On Fri, Mar 21, 2008 at 3:40 PM, Martin Davis <
mtncl...@gmail.com> wrote:
> > Hi, Keith.
>
> > Cool - an actual user!
>
> > I'm surprised the ShapefileReader isn't working for you - I use it all the
> > time. But I will do another direct test of the install that's available for
> > download - possibly something is awry. Can you send me an example of a
> > shapefile that doesn't work?
>
> > As for shapefile manipulation, that is definitely a #1 use case for Jeql.
> > So the *theoretical* answer to your questions is yes, yes, yes.
>
> > However... one thing which is missing from Jeql right now is the ability
> > to add to or union tables together. I do intend to implement the SQL UNION
> > operator. In the short term, I will create a TableUnion procedure which
> > will do the same thing. That would be the preferred way to add records to a
> > table - although it would be probably be nice to have the equivalent of an
> > INSERT command (although, in absence of true looping this is less useful).
>
> > Can you tell me more about your use case?
>
> > As for defining the spatial type of a shapefile, this is done implicitly
> > based on the type of the GEOMETRY column that is being written.
>
> > I do intent to implent a DBF Reader & Writer - just haven't got there yet.
>
> > I'll look into the CSVWriter/TextWriter EOL issue - I think I know what
> > the problem is. I'll post an update when I get a fix.
>
> > By the way - are you the same Keith that I emailed a while back, and then
> > haven't had a chance to follow up on? If so - thanks for hanging in there!
>
> > Martin
>