English 中文(简体)
Mapserver mapinfo styling
原标题:

Is it possible to use mapinfo embedded graphic style for features with mapserver? I don t want to describe again width and color of lines, polygones and so on.

问题回答

The styling should be picked up automatically:

http://mapserver.org/input/vector/mapinfo.html

MapInfo files already contain styling information. This styling information can be used optionally by specifying the STYLEITEM “AUTO” parameter in the LAYER object of the map file.

Note

If you use STYLEITEM “AUTO” you must have an empty class in the layer.

Example:

LAYER
NAME Elevation_Poly_5
TYPE POLYGON
STATUS DEFAULT
CONNECTIONTYPE OGR
CONNECTION "./hypso/elev5_poly.TAB"
STYLEITEM "AUTO"
CLASS
        NAME "Elevation Poly 5"
END
END # Layer




相关问题
anything better than bounding boxes?

I have a scenario, where I have x million longitude latitude points. When a new long/lat point is added I want to know efficiently which other points are within a user configured distance parameter, ...

how to create image from gis data in C#

I m using C# to pull spatial data from a sql server 2008 database. I m then trying to perform operations on that data, but to start... I want to be able to visualize it. That is, I would like to ...

java api for simple gis computations

I am trying to develop some simple location logic in the server-side portion of a java servlet-based webapp. There are really just two operations that I m interested in: Given a start point (lat/...

does anyone know a good mapinfo forum?

I m new using mapinfo and I am going to work a lot with it. I haven t been able to find a good forum, making it impossible to get community driven assistance. I wish any of you could tell me if there ...

Determining visible area from globe frustum

I m working with a mapping application (worldwind) and trying to determine the minimum and maximum latitudes and longitudes that are currently displayed. I have access to the frustum, but I m not sure ...

热门标签