is it possible to draw grd file using Mapserver
Guillaume Sueur
guillaume.sueur at NEOGEO-ONLINE.NET
Tue Jan 22 00:00:01 PST 2008
Merhaba Murat,
Frankly I'm not sure to understand what you want to draw as point and
what as polygons, but anyway, this can probably help you...
What about using OpenLayers VectorLayer to render your points ? This
way, you could directly use your text file and then have full control on
the client side to render them properly, by small or large circles for
example.
Have a look to
http://www.openlayers.org/dev/examples/vector-features.html and
http://www.openlayers.org/dev/examples/markersTextLayer.html to see some
live demos. You can still use MapServer to generate your background layers.
Hope that helps,
Guillaume
Murat Beyhan a écrit :
> Dear Frank and Friend,
>
> Ok, I'm trying to explain my problem as possible as clearly.
> I have two layer both type are points.
> like
> peak ground acceleration file.
> lat lon acceleration (gal)
> 40.356 35.651 450
> 40.357 35.652 445
> 40.358 35.653 440
> ... .... ....
> and
> village point file.
> lat lon name
> 40.125 35.159 Village_name1
> 40.250 35.254 Village_name2
> 40.857 35.654 Village_name3
> As you see both file actually are txt and column file.
>
> So I draw both layer by using it's .shp .dbf file.
> As you see both are point file.
> But I need to know if I draw both on the one map, Which villages
> placed which zones.
> Zones could created by using acceleration. For example 0-100 gal is zone
> 1, 101-200gal is zone2, etc.
>
> I guess, If you draw acceleration using point data you could not
> distinguish data as zone.
> May be by using point data I can obtain grid file or polygon file than
> I can determine the village point place on the polygon.
> When you draw acceleration distribution the shape of the distribution
> seems circular area then when you classify zones you can get result of
> the distribution which are divided into several level.
>
> I try to draw point acceleration data as countered data. So I have tried
> to convert point data to grid file to obtain countered map....
>
> I hope I can explain What I'm trying to do.
>
> Regards
> Murat
>
> Frank Warmerdam wrote:
>> Murat Beyhan wrote:
>>> Dear Friend,
>>>
>>> Is it possible to draw grd file using mapserver.
>>> Actually, I have point data (stored in mysql database), and I desire
>>> to obtain grd file of point data first by using Mapserver.
>>> If it's not possible to obtain grd file by using Mapserver, no
>>> problem. I have an another tool to obtain grd file from point data.
>>> Then I would like to draw grd file and point data of the villages.
>>> The grd file has been plotted diveded into several zones on the map.
>>> Then I would like to match zones and point of villages.
>>> Which villages placed in which zones.
>>> I use mysql too, to keep data. Are there any way to do what I'm
>>> intending to do...
>>
>> Murat,
>>
>> I'm reasonably knowledgable about formats, but I'm not sure what you mean
>> by a "grd" file. Is this a specific file format? raster? vector?
>>
>> I'm afraid your whole question above doesn't provide concrete enough
>> information to provide any help.
>>
>> Best regards,
>
>
--
More information about the MapServer-users
mailing list