Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use the .dbf files that came with my shape file data through OpenMap?

came Data file files openmap shape
0
Posted

How can I use the .dbf files that came with my shape file data through OpenMap?

0

The .dbf file holds attributes for the graphical objects stored in the shapefile (.shp). There are a couple of ways you can go to take advantage of the information in that file. You can load the file into the database, and then perform queries into the database from within the Layer, and then associate the attributes to the OpenMap grpahical objects created from the shapefile. You can also convert the .dbf file to a csv file, and then do the same thing. The com.bbn.openmap.layer.shape.areas package uses the csv file provides the capability to associate some drawing attributes to objects within a shapefile. We do not provide a generic database solution for this problem, because it is our experience that there isn’t one. We’ve always had to come up with specialized code to display the graphics and attributes in a manner that was appropriate for the particular goal of the layer.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123