Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Visitor
Posts: 1
Registered: ‎09-17-2017

How to call Json2Json in server, if already GDAL is part of PostGIS Installation.

Hi,

 

I am trying to call json2json action using formatconver from gdal configuration. GDAL is installed in server as part of PostGIS installation. I have configured the in web.config file. Please see screen shots. 

I couldnot able to call json2json action. Actually GDAL_PATH is already configured in Environment variables.

 

Please help me to resolve this issue. I am happy share if any further information is required.GDAL Configuration.jpg

Technical Evangelist
Posts: 624
Registered: ‎09-11-2015

Re: How to call Json2Json in server, if already GDAL is part of PostGIS Installation.

Hi,

 

For me it seems like it's failing on this line

Untitled.png

It's in the FormatConverter project, GdalGeoJsonReprojector.cs. So either:

  • comment this line out
  • remove the environment variable (could break PostGIS)

It might be also better for you to directly run the Portal application from Visual Studio and utilize the debugger functions.

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.