Hy
Sorry i am from russia, my english is terrible. I have one question :). it is possible show own raster georeferenced data (jpg, tiff with word files) by suas map server? If is, how, and how show own raster data and my vector data in mysql together?
Pls any answer is ok
Thanks {8)}
hi, good news is, i have developed such tools to divide raster image into ordered tiles with according cvs or svg data, then you can import such data into suas, then the map server can deliver those tiles
bad news, the tools is written in java, i have only source code, i have not published it as software.
Pls help me :)...it is possible upload source files? (rapidshare,divshare) and post link?:)
hi, i am sorry, this 2 weeks i am very busy. i must arrange my source code and publish here, at this weekend. ok?
great :) pls i will wait for this code :)
first version wrote in 2006
run ImageSlicer_noThum
set paramter in line 123
will split image into slicers, in folder "rasterimagee" or "rasterimagew"
(you can set your image path)
and output also cvs data, depends on the slicer postion and width and height
the cvs format is for old SUAS version, you can change the output
format for new version SUAS (edit imageslicer2csv)
then put rasterimagee with slicers in SUAS root, and import cvs into SUAS database.
code was written 3 years ago, ugly and without comments.
sorry, not much time now.
Download Code
uf veery complicated :( some live examples? i dont understand and example will be veeeery useful for all users this great mapserver :)
it seems that i need arrange the code again, sorry :{:)}
i will publish here again when i finish.
Hello
I managed to run the program. It produces some nice tiles out of the image. My problem is that I can not get the correct CSV file even after I modify the format for the new SUAS version. I am a developer and if you technically explain the CSV format in a nutshell to me, I can possibly help others here.
According to the web interface, the CSV file columns are:
id|layer|recid|geomtype|xmin|ymin|xmax|ymax|geom|svgxlink|srs|
attributes|style
I need to know what exactly the "geom" and "svgxlink" columns should be.
The problem is that SUAS data import interface uses GeomFromText(geom) in MySQL insert query, but the "geom" field generated by your Java program is not a valid parameter for this function (it looks like an XML ...), and therefore Null is inserted into DB in the corresponding column.
Best regards
Fadishei
ah, i forget, the old code is not compatible for the cvs format of new version of SUAS, i will check it this evening.
regards
leelight
format: id,layer,recid,geomtype,xmin,ymin,xmax,ymax,geom,svgxlink,srs,attributes,style
example:
'null', 'null', 'recid', 'layername', 'IMAGE', 'srs', '0', '0', '1', '1', 'LINESTRING(0 0,1 0,1 1,0 1,0 0)', 'layername_xx.png', '',
0 0,1 0,1 1,0 1 is 4 corners of one rectange, anti-clockwise, this will store rectange in geom column, when calling getMap, SUAS will create rectange image SVG object(
I'm new in SUAS Map Server, but it seemss very interesting.
I'd like publishing my raster data (for example georeferenced tiff, jpg, ...).
I've seen your old code, have you wrote a new version for Image Slicer?
Thanks,
Costanza Becattelli
Hello,
I'd like publishing my raster data (for example georeferenced tiff, jpg, ...).
I don't managed to run the program, but I've created a CSV file according to the sample:
One record of my CSV file:
null;null;ctr10B_1600;ctr10B;IMAGE;EPSG:26591;1695173;4819083;1702072;4824835;LINESTRING(1695173 4819083,1702072 4819083,1702072 4824835,1695173 4824835, 1695173 4819083);rasterimagee/f287060.tif;
I've succesfully imported the csv file, but the raster doesn't appear.
Can you help me?
What is the extension of your raster images?
Thanks,
Costanza Becattelli
Hmmm i still dont understand how use this. I want show my georeferenced raster data (tiff with word file) and shape file (the same area). How i show raster and vector together in map server? please send me some manual or functional files (which only i copy on localhost) or live demo or something useful here or mail me - klk@atlas.sk
Thanks all :)
{:(}
Hello please how can i show my georeferenced tiff and vector files (shape) - it is one area.