The VMAP2Shape class just creates the shape files containing the
geometries. It doesn't pass any attribute information to the dbf file
for the geometries, simply because we didn't have dbf output code when
that class was written (~1998). That would certainly be something to
look at for the future.
- Don
On Tuesday, November 12, 2002, at 06:41 PM, Keith Baker wrote:
> Cool Don... Great to know its working again. I will look at the
> output
> when I get a chance... if its good enough you could filter the shape
> files it makes. By "Good Enough" I mean, does ti pass the attributes
> to
> the shapefiles.
>
> On Tue, 2002-11-12 at 18:27, Don Dietrick wrote:
>> Dave,
>>
>> I believe this problem has been resolved in 4.5.4. It worked for me.
>>
>> Keith is right, however, in that the VPF components don't really let
>> you use attribute data to filer out features more appropriately for
>> scale or purpose.
>>
>> - Don
>>
>> On Tuesday, November 12, 2002, at 11:31 AM, Keith Baker wrote:
>>
>>> I did not figure this out in Openmap. As far as I can tell openmaps
>>> VPF
>>> layer is lacking a lot of functionality you'd want. After you select
>>> the coverage etc you still often want to prune the data set. For
>>> example the political boundary layer contains both states (1st order)
>>> and countries... These should be rendered differently in most
>>> cases...
>>> I never figured out how to get this to happen in Openmaps VPF
>>> layer...
>>> so I am guessing that the conversion tools have the same limits
>>> though
>>> I
>>> never got very far with them due to lack of docs.
>>>
>>> I am using the NIMA muse tools. I tried a quick and dirty hack to
>>> get
>>> them on Linux I got it compiling, but not working. I have access to
>>> a
>>> few Suns so I decided to just run the binaries. These tools are
>>> doing
>>> exactly what I want. If you need any help on em give a shout.
>>>
>>> On Tue, 2002-11-12 at 06:27, Dave Hallam wrote:
>>>> Hi,
>>>>
>>>> I was wondering if this had been sorted out. I'm trying to do the
>>>> same thing with:
>>>>
>>>> java com.bbn.openmap.layer.vpf.VMAP2Shape -props
>>>> /home/hallam/openmap.properties -prefix vmapRoads roads.shp
>>>>
>>>> It creates a 100 byte file called roads.shp but crashes in exactly
>>>> the same way as Keith Baker descibed in
>>>> http://openmap.bbn.com/mailArchives/openmap-users/2002-09/1083.html.
>>>>
>>>> I get the same error message:
>>>> .......
>>>>> adjusting bounds
>>>>> from min: ESRIPoint[0.000000,0.000000]
>>>>> to min: null
>>>>> from max: ESRIPoint[0.000000,0.000000]
>>>>> to max: null
>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>> at com.bbn.openmap.layer.shape.ShapeUtils.writePoint(Unknown
>>>> Source)
>>>>> at com.bbn.openmap.layer.shape.ShapeUtils.writeBox(Unknown Source)
>>>>> at com.bbn.openmap.layer.shape.ShapeFile.verify(Unknown Source)
>>>>> at com.bbn.openmap.layer.vpf.VMAP2Shape.writeShapeFile(Unknown
>>>> Source)
>>>>> at com.bbn.openmap.layer.vpf.VMAP2Shape.main(Unknown Source)
>>>>
>>>> Can anyone help, please? I'm running JDK1.4 and OM 4.5.3 on RH
>>>> Linux
>>>> 7.2.
>>>>
>>>> Regards,
>>>>
>>>> Dave
>>>>
>>>> =====
>>>> Tel: +44 (0) 7092 250 375
>>>> Fax: +44 (0) 7092 250 375
>>>>
>>>> __________________________________________________
>>>> Do You Yahoo!?
>>>> Everything you'll ever need on one web page
>>>> from News and Sport to Email and Music Charts
>>>> http://uk.my.yahoo.com
>>>>
>>>
>>> <signature.asc>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, BBN Technologies, dietrick@bbn.com
>> 10 Moulton Street, Cambridge, MA 02138
>> 617-873-3031 [fax]-2794
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>>
>
> <signature.asc>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Nov 12 18:49:57 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT