![]() |
|
|||||||
| Image Serving & GIS Developing and serving World Wind content; other GIS issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Junior Member
Join Date: Jan 2007
Posts: 14
![]() |
The sample file linked to on this page: http://www.worldwindcentral.com/wiki/Dstile_howto works fine, but whenever I try a different raster it never works. For example, I have a raster which has these bounds:
top: 71.9667029774756 bottom: -72.0332970225244 left: -180 right: 180 So I tried dstile with various settings for lztsd, here are the results: Quote:
What am I missing here? I can provide the source image if need be. |
|
|
|
|
|
|
#2 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
It looks like it is working fine. What kind of image is your .img file? The problem may be in converting whatever that is to jpg.
|
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Jan 2007
Posts: 14
![]() |
Quote:
I tried again with a tif type image, this is the output from dstile: C:\Program Files\FWTools1.1.2>dstile.exe tile --lztsd 140.0 --wwcache --overview s output_tiles shn706_seebase_i.tif lztsd set to 140.000000 Tile Mode set to WW Cache shn706_seebase_i.tif:0...10...20...31... 40...50...60...70...81...90...100 - done . Building overviews:0.11.23.3542.51.62.7881.96102 The jpgs it produced look ok. Here is the contents of the XML file for the image: <?xml version="1.0" encoding="UTF-8"?> <LayerSet Name="Geology maps" ShowOnlyOneLayer="false" ShowAtStartup="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerSet. xsd"> <QuadTileSet ShowAtStartup="true"> <Name>Seebase</Name> <DistanceAboveSurface>0</DistanceAboveSurface> <BoundingBox> <North> <Value>84</Value> </North> <South> <Value>40</Value> </South> <West> <Value>-79</Value> </West> <East> <Value>60</Value> </East> </BoundingBox> <TerrainMapped>true</TerrainMapped> <ImageAccessor> <LevelZeroTileSizeDegrees>140</LevelZeroTileSizeDegrees> <NumberLevels>6</NumberLevels> <TextureSizePixels>512</TextureSizePixels> <ImageFileExtension>jpg</ImageFileExtension> <PermanentDirectory>Data\Earth\output_ti les</PermanentDirectory> </ImageAccessor> <TransparentColor><Red>0</Red><Green>0</Green><Blue>0</Blue></TransparentColor> </QuadTileSet> </LayerSet> The image should appear between North Africa and Greenland approximately. Instead, when I start up World Wind I find the image being shown over Brazil. If I try to zoom in on it the image gets patchy - either partially showing or disappearing. When I quit World Wind and take a second look at the images, some of them have been replaced by files with a DDS extension. |
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2006
Posts: 210
![]() |
So far, the only thing I've gotten to work properly is a GeoTiff file. I've tried a few others with no results.
__________________
"No Silicon Heaven?! Preposterous!...where would all the calculators go?" |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2008
Posts: 25
![]() |
Did anybody manage to create tiles with dstile from a georeferenced jpg file?
I've included in the directory the word file (with jgw and jpw extension as well), and I've tried more different FWTools version. The output I get is like: lztsd set to 36.000000 Tile Mode set to WW Cache : And then returns to the command line, without any files have been created. I managed to create the tile structure from a GeoTIFF file, so my problem is with the jpg + wordfile combination. Thanks for your help. |
|
|
|
|
|
#6 |
|
Worldwind Developer
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
![]() |
Hi the jpg+worldfile combination does not specify the projection of the image. You can supply this missing information using filename.prj file. The prj file contains the projection infor from the tif given by the top section of the "gdalinfo" on the tif file. You can also use the srcProj option is dstile to supply the source projection in epsg code.
Cheers, what_nick
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much. Currently blogging at: http://whatnicklife.blogspot.com Working at: Aerometrex - http://aerometrex.com.au/blog/ Impact so far: ![]() |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2008
Posts: 25
![]() |
Dear what_nick, thank you for your fast reply.
Would it be possible to attach a map with the appropriate world and projection files? It would help to work out the needed format for my own files. (Word file is quite well documented, but I'couldn't find an example projection file.) Thank for your help, Tamas |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem connecting to server wait 2 min | mikl | Technical Support | 3 | 01-11-2010 07:44 AM |
| Viewing problem, picture still fuzzy | Unregistered | Install Support | 1 | 09-04-2006 11:05 AM |
| Problem in texture or terrain visualization | gabrio | Technical Support | 5 | 05-27-2006 01:34 AM |
| Problem connection to server.. | sector | Technical Support | 25 | 12-13-2004 06:53 PM |
| High-altitude urban problem | BeerAndLoathing | Bug Reports | 0 | 11-15-2004 08:17 PM |