MapInfo

There's a new MIFDataStore available that let's you read and write in Mapinfo MIF/MID format.To get more information about it see, 将mif-2.2.x.jar拷贝到如下地址:

/glassfish-v2/domains/domain1/applications/j2ee-modules/geoserver/WEB-INF/lib 重启服务器
http://localhost:8080/geoserver/config/data/store.do

and click on the "New" link, you should see the MIFDataStore in the combo box of available DataStores.

About how to use geoserver to link mif data

error

geometryFactory 必须是有效的 class
com.vividsolutions.jts.geom.GeometryFactory: java.io.IOException: Could
not create com.vividsolutions.jts.geom.GeometryFactory from text
提供的参数无法被处理

 

根据官方的做法,安装完mif-2.2.x.jar,在编辑featuretype时,geometryFactory字段会报错。

 

从网上倒是发现一达人手动创建feature:http://blog.csdn.net/makui/archive/2007/09/07/1776247.aspx

但貌似不是mif~~~

http://www.cnblogs.com/flyingfish/archive/2008/05/30/1210863.html

fiyingfish前辈做的配置中,将mif转为shp以后再导入.........

 

以上种种,让我放弃了mif的导入,还是转为shp以后再说。不过总觉得这样的方法有多此一举的嫌疑,好好的“mif-2.2.x.jar”难道用不了么?

posted on 2008-08-02 17:04  lzlynn  阅读(743)  评论(0编辑  收藏  举报