[R-sig-Geo] write.sn2gwt and lost region.id
pota0011 at umn.edu
pota0011 at umn.edu
Fri Oct 30 20:41:20 CET 2009
I'm mostly working with classic GeoDa. It uses the legacy GWT format when
creating/opening GWT files with Rec_Num 1,..N IDs. However, write.sn2gwt
always uses the new format with the "shpfile" and "ind" fields, even though
it doesn't pass region.ids. So it seems to me that one has to edit the
header file to the old format by deleting everything by the number of IDs,
before classic GeoDa can read the file. It would be great if write.sn2gwt
could either pass the region.ids or alternatively have an option for
creating the GWT file in legacy format. At least that's how I'm
understanding things; let me know if there is something I'm missing.
Thanks,
John
On Oct 30 2009, Roger Bivand wrote:
>On Fri, 29 Oct 2009, pota0011 at umn.edu wrote:
>
>> Hi,
>> I wanted to confirm that there is still no straightforward way to pass
>> region.id values to a GWT file when using write.sn2gwt, as this post
>> from two
>> years ago suggests:
>> http://www.mail-archive.com/r-sig-geo@stat.math.ethz.ch/msg02209.html
>>
>> GeoDa needs the particular region.id values to, for example, make
>> histograms
>> from weight files. It seems that these are passed fine for GAL files
>> with
>> write.nb.gal, but not GWT files. Does anyone know of a work-around?
>
>I'll try to implement this - which version of GeoDa and/or OpenGeoDa are
>you using? I think the revision works for classic GeoDa, but OpenGeoDa
>cannot open GWT files that it itself has created when the IDs are not 1,
>..., N.
>
>Best wishes,
>
>Roger
>
>>
>> Thanks,
>> John
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>
More information about the R-sig-Geo
mailing list