Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-22 Thread Christian Schmitt
Gijs de Rooy wrote:

> 
> Looks like OGR-decode is broken (in the Windows builds at least) since
> some time. I still don't completely understand the difference between OGR
> and Shape, both seem to deliver the same results... Maybe someone else can
> explain this?

ogr-decode uses gdal to process the shapes, which is generally a good idea 
as gdal is THE tool for such tasks. As I'm not running windows I can't help 
with improving the situation there, sorry.

Chris

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Roberto Inzerillo
Il 21/03/2012 23:54, Gijs de Rooy ha scritto:
>  > Failed to load priorities file
>  >
> D:/FGFSHudsonCMake/TerraGear/install/msvc100/TerraGear/share/TerraGear/default_priorities.txt
>
> You can set the location manually by adding:
> --priorities=path/to/default_priorities.txt

That helped :-) Thx.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Gijs de Rooy

> Failed to load priorities file 
> D:/FGFSHudsonCMake/TerraGear/install/msvc100/TerraGear/share/TerraGear/default_priorities.txt

You can set the location manually by adding:
--priorities=path/to/default_priorities.txt
  --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Roberto Inzerillo
Il 21/03/2012 23:08, Roberto Inzerillo ha scritto:
> Il 21/03/2012 21:54, Gijs de Rooy ha scritto:
>>   >  Everything goes well untill I run ogr-decode which fails silently. It
>> does nothing, no error message, no decoded data, nothing at all
>>
>> What if you try shape-decode?
>
> Ok, I tried this: C:\Terragear_LICP>bin\shape-decode.exe --max-segment
> 500 data\shapefiles\v0_landmass\v0_landmass work\Landmass Default
>
> And so on with the other shapefiles.
>
> That looks to do the trick :-)

But then I keep on with the process and find another stop when running 
fgfs-construct.


I did run this:

C:\Users\Tabu\Documents\Terragear_LICP>bin\fgfs-construct.exe 
--work-dir=.\work --output-dir=.\output --lon=13 --lat=38 --xdist=1 
--ydist=1 AirportArea SRTM-3 AirportObj ElevContour Landmass Road Town Urban


And got back this as an answers:

Output directory is .\output
Working directory is .\work
Center longitude is 13
Center latitude is 38
X distance is 1
Y distance is 1
Nudge is 0
Load directory: AirportArea
Load directory: SRTM-3
Load directory: AirportObj
Load directory: ElevContour
Load directory: Landmass
Load directory: Road
Load directory: Town
Load directory: Urban
Priorities file is 
D:/FGFSHudsonCMake/TerraGear/install/msvc100/TerraGear/share/TerraGear/default_priorities.txt
Unable to open file 
D:/FGFSHudsonCMake/TerraGear/install/msvc100/TerraGear/share/TerraGear/default_priorities.txt
Failed to load priorities file 
D:/FGFSHudsonCMake/TerraGear/install/msvc100/TerraGear/share/TerraGear/default_priorities.txt


Well, D:/FGFSHudsonCMake/... must be something hard-compiled in the 
binary, it's not my file system at all.

Sadly enough I got nothing in the output dir :-(

I did read the deafult_prioorites.txt file that comes with the terragear 
compiled binaries. Well ... not very usefull though :-(

What's happening here? I feel like walking in the dark.



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Gijs de Rooy

Looks like OGR-decode is broken (in the Windows builds at least) since some 
time.
I still don't completely understand the difference between OGR and Shape, both 
seem
to deliver the same results... Maybe someone else can explain this?

Gijs
  --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Roberto Inzerillo
Il 21/03/2012 21:54, Gijs de Rooy ha scritto:
>  > Everything goes well untill I run ogr-decode which fails silently. It
> does nothing, no error message, no decoded data, nothing at all
>
> What if you try shape-decode?

Ok, I tried this: C:\Terragear_LICP>bin\shape-decode.exe --max-segment 
500 data\shapefiles\v0_landmass\v0_landmass work\Landmass Default

And so on with the other shapefiles.

That looks to do the trick :-)

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Gijs de Rooy

> Everything goes well untill I run ogr-decode which fails silently. It 
does nothing, no error message, no decoded data, nothing at all

What if you try shape-decode?



Gijs  --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] First attempt with terragear: fail! :-(

2012-03-21 Thread Roberto Inzerillo
But maybe you can help me (I hope so).

I decided to give Terragear a try and I'm following the Wiki Guide (url: 
http://wiki.flightgear.org/Using_Terragear ) in order to get familiar with 
it. Everything goes well untill I run ogr-decode which fails silently. It 
does nothing, no error message, no decoded data, nothing at all :-(

Is ogr-decode failing to others too or is it me alone (maybe doing some 
stupid mistake)? Is there some common pitfall?

I'm using precompiled terragear binaries on Windows7-x86.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel