Announcement

Collapse
No announcement yet.

DStile Source Code

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DStile Source Code

    The source code for DSTile, the application the WWC uses to tile all the free data it gets is now available.

    Working links to dstile source code and what_nick's compiled version can be found at http://www.worldwindcentral.com/wiki/Making_Layers

    You will need to download and configure - Proj.4 ,GDAL and GCC.

    I am currently trying to record all the knowledge we have about tiling data for WW @ Making Layers. If you figure something out please take some time and stick it up there.

    Thanks to Nowak for releasing the source, Norman Vine for making us think, always having the right URL for our questons and everyone else on #worldwind that has pitched in on the source in some form or fashion.

    Now get busy making layers of your data in WW!
    Last edited by m_k; 02-25-2007, 12:46 PM. Reason: note about dstile download
    Adam Hill - .NET and GIS Guy
    Thregecy Inc. ::: TheBigPixel
    Hack #24 - World Wind

  • #2
    Hi,

    is a compiled version of Dstile also available?

    I got some trouble running the GNU compiler...

    Thx,
    treex

    Comment


    • #3
      Broken link :(

      Comment


      • #4
        It'll be back soon - there's a lot of data to restore from backups after moving servers
        Donate to support your community!
        Please donate if you can - every donation helps improve World Wind

        World Wind Central - FAQs, Hotspots, Wiki and more...READ before posting!


        Need to upload files? Use my free 50Mb uploader!
        Or, how about some web hosting or web design?

        Comment


        • #5
          "http://download.worldwindcentral.com/dstile-0.2.tar.gz" is not available.where to download?

          Comment


          • #6
            I was wonder were to download also

            Comment


            • #7
              A search in the forum for "dstile" would have several links, here is one.
              http://forum.worldwindcentral.com/sh...ghlight=dstile
              Neil
              http://www.nlneilson.com

              Comment


              • #8
                Originally posted by adamhill View Post
                The source code for DSTile, the application the WWC uses to tile all the free data it gets is now available.

                Working links to dstile source code and what_nick's compiled version can be found at http://www.worldwindcentral.com/wiki/Making_Layers

                You will need to download and configure - Proj.4 ,GDAL and GCC.

                I am currently trying to record all the knowledge we have about tiling data for WW @ Making Layers. If you figure something out please take some time and stick it up there.

                Thanks to Nowak for releasing the source, Norman Vine for making us think, always having the right URL for our questons and everyone else on #worldwind that has pitched in on the source in some form or fashion.

                Now get busy making layers of your data in WW!

                so I took the source code from here:
                http://2bn.net/files/2/dstileww.zip

                and I was trying to compile it in my linux: I am using centos5 and elgis repo
                for the gdal

                my makefile:
                #INC=-I/packages/gdal-1/include
                INC=-I/usr/include/gdal
                #LDFLAGS=-s -L/packages/gdal-1/lib -Wl,-rpath=/packages/gdal-1/lib -Wl,-rpath=/packages/proj-4/lib -Wl,-rpath=/packages/gcc-4/lib
                LDFLAGS=-lgdal


                which means I am going to do a dynamic link to the library.
                The compile error I get:

                [nhatzop@mycentos ~/Desktop/WW_dev/dstile-0.2]$ make
                g++ -c -I/usr/include/gdal TileProcessor.cpp -o TileProcessor.o
                TileProcessor.cpp: In member function ‘virtual void TileProcessor::Combine(GDALDataset*, std::vector<GDALDataset*, std::allocator<GDALDataset*> >&)’:
                TileProcessor.cpp:76: error: jump to case label
                TileProcessor.cpp:55: error: crosses initialization of ‘int minDataVal’
                TileProcessor.cpp:54: error: crosses initialization of ‘unsigned char* p1’
                TileProcessor.cpp:53: error: crosses initialization of ‘unsigned char* p0’
                TileProcessor.cpp: In member function ‘virtual void TileProcessor::Subsample2x2(GDALDataset* , std::vector<GDALDataset*, std::allocator<GDALDataset*> >&)’:
                TileProcessor.cpp:148: error: jump to case label
                TileProcessor.cpp:123: error: crosses initialization of ‘int minDataVal’
                TileProcessor.cpp:122: error: crosses initialization of ‘unsigned char* p1’
                TileProcessor.cpp:121: error: crosses initialization of ‘unsigned char* p0’
                TileProcessor.cpp: In member function ‘virtual bool TileProcessor::IsNull(GDALDataset*)’:
                TileProcessor.cpp:206: error: jump to case label
                TileProcessor.cpp:188: error: crosses initialization of ‘unsigned char minDataVal’
                TileProcessor.cpp:187: error: crosses initialization of ‘unsigned char* p0’
                make: *** [TileProcessor.o] Error 1


                so this error means that needs some brackets in the TileProcessor.cpp:
                lines 52 and 74
                121 and 148
                187 and 204

                if you correct these brackets the exe is being compiled..
                are these corrections valid?

                --Nikos Hatzopoulos

                Comment


                • #9
                  Hi
                  Does anyone have a working link for the source code, or of the source code which can be emalied to me?

                  //freon

                  Comment


                  • #10
                    Hi Nikos

                    Where did you get the code you are working with ? Your link is not working also.

                    You should know how links work, someone puts data on a website. If that data is deleted, the website goes down or it is removed for some reason like not paying the registration fees or fees to the service provider, problems with the server code or hardware, or many other reasons. If you do find a link that is still working please post in in this thread

                    You could attach to a post a .zip of the code you are using.

                    Centos has problems that need to be worked out. For Linux try Ubuntu.

                    Win would probably be the best option to try.

                    The text in this link gives the basic steps in tiling so you could start from scratch.:
                    http://www.worldwindcentral.com/wiki/Making_Layers

                    Good luck and let us know what you come up with.
                    edit: You could try the trial version of GlobalMapper.


                    What IDE and compiler are you using for C/C++ ?
                    Last edited by nlneilson; 05-23-2014, 11:52 PM.
                    Neil
                    http://www.nlneilson.com

                    Comment

                    Working...
                    X