Custom Query (101 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (4 - 6 of 101)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#167 fixed service_internal_mono.c errors with MSVC 2017 jmckenna
Description
  • using prototype-v0 branch
  • compile errors with zoo-kernel:
    service_internal_mono.c
    d:\build\mapserver-buildkit-2017\zoo-project-prototype-v0\zoo-kernel\service.h(66): warning C4244: '=': conversion from '__time64_t' to 'long', possible loss of data
    service_internal_mono.c(176): error C2664: 'maps *mapsFromZMaps(MonoDomain *,MonoClass **,MonoMethod **,MonoObject *)': cannot convert argument 4 from 'void *' to 'MonoObject *'
    service_internal_mono.c(176): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast
    service_internal_mono.c(181): error C2664: 'maps *mapsFromZMaps(MonoDomain *,MonoClass **,MonoMethod **,MonoObject *)': cannot convert argument 4 from 'void *' to 'MonoObject *'
    service_internal_mono.c(181): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast
    service_internal_mono.c(290): error C2440: 'initializing': cannot convert from 'MonoString *' to 'MonoObject *'
    service_internal_mono.c(290): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(291): error C2664: 'char *mono_string_to_utf8(MonoString *)': cannot convert argument 1 from 'MonoObject *' to 'MonoString *'
    service_internal_mono.c(291): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(294): error C2440: 'initializing': cannot convert from 'MonoString *' to 'MonoObject *'
    service_internal_mono.c(294): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(331): error C2440: 'initializing': cannot convert from 'MonoString *' to 'MonoObject *'
    service_internal_mono.c(331): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(332): error C2664: 'char *mono_string_to_utf8(MonoString *)': cannot convert argument 1 from 'MonoObject *' to 'MonoString *'
    service_internal_mono.c(332): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(335): error C2440: 'initializing': cannot convert from 'MonoString *' to 'MonoObject *'
    service_internal_mono.c(335): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(336): error C2664: 'char *mono_string_to_utf8(MonoString *)': cannot convert argument 1 from 'MonoObject *' to 'MonoString *'
    service_internal_mono.c(336): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(352): error C2664: 'char *mono_string_to_utf8(MonoString *)': cannot convert argument 1 from 'const char *' to 'MonoString *'
    service_internal_mono.c(352): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    service_internal_mono.c(352): error C2660: 'mono_string_new': function does not take 1 arguments
    D:\build\mapserver-buildkit-2017\zoo-project-prototype-v0\..\mono-5.18.0.240/msvc/include\mono/metadata/object.h(146): note: see declaration of 'mono_string_new'
    service_internal_mono.c(366): error C2440: 'initializing': cannot convert from 'int *' to 'int'
    service_internal_mono.c(366): note: There is no context in which this conversion is possible
    service_internal_mono.c(367): error C2446: '>': no conversion from 'int' to 'int *'
    service_internal_mono.c(367): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.EXE"' : return code '0x2'
    Stop.
    
#166 wontfix fix for win32 in service_internal.h jmckenna
Description
  • unistd.h is not part of Visual Studio
  • add a check for that in zoo-kernel/service_internal.h, around line#80, such as:
      #if !defined(USE_RUBY) && !defined(WIN32)
      #include <unistd.h>
      #endif
    
#163 fixed BoundingBoxData xml parser fails during the rdirienzo
Description

During the parsing request, Zoo-kernel fails on "BoundingBoxData" In the example attached the XML

 <wps:Input>
            <ows:Identifier>SubsetBoundingBox</ows:Identifier>
            <wps:Data>
                <wps:BoundingBoxData ows:crs="urn:ogc:def:crs:EPSG:6.6:4326" ows:dimensions="2">
                    <ows:LowerCorner>12.513 41.87</ows:LowerCorner>
                    <ows:UpperCorner>14.996 43.333</ows:UpperCorner>
                </wps:BoundingBoxData>
            </wps:Data>
        </wps:Input>

Has been parsed:


MAP => [SubsetBoundingBox]
 * CONTENT [SubsetBoundingBox]
encoding: utf-8
value:



minOccurs: 1
maxOccurs: 1
CRS: urn:ogc:def:crs:EPSG:6.6:4326

POST XML:

<wps:Execute version="1.0.0" service="WPS" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://www.opengis.net/wps/1.0.0" 
    xmlns:wfs="http://www.opengis.net/wfs" 
    xmlns:wps="http://www.opengis.net/wps/1.0.0" 
    xmlns:ows="http://www.opengis.net/ows/1.1" 
    xmlns:gml="http://www.opengis.net/gml" 
    xmlns:ogc="http://www.opengis.net/ogc" 
    xmlns:wcs="http://www.opengis.net/wcs/1.1.1" 
    xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
    <ows:Identifier>geohazards_tep_dcs_rss_snap_s1_insar_snap_s1_ifg_overall_1_2</ows:Identifier>
    <wps:DataInputs>
        <wps:Input>
            <ows:Identifier>master</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[https://catalog.terradue.com/sentinel1/search?format=json&uid=S1A_IW_SLC__1SDV_20160821T051116_20160821T051143_012694_013F33_53E5]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>slave</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[https://catalog.terradue.com/sentinel1/search?format=json&uid=S1A_IW_SLC__1SDV_20160902T051117_20160902T051144_012869_014526_DFB4]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>polarisation</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[VV]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>orbittype</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[Sentinel Restituted (Auto Download)]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>cohWinAz</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[6]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>cohWinRg</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[20]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>demtype</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[SRTM 3Sec]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>performPhaseFiltering</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[true]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>nAzLooks</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[1]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>nRgLooks</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[4]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>performPhaseUnwrapping</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[true]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>SubsetBoundingBox</ows:Identifier>
            <wps:Data>
                <wps:BoundingBoxData ows:crs="urn:ogc:def:crs:EPSG:6.6:4326" ows:dimensions="2">
                    <ows:LowerCorner>12.513 41.87</ows:LowerCorner>
                    <ows:UpperCorner>14.996 43.333</ows:UpperCorner>
                </wps:BoundingBoxData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>pixelSpacingInMeter</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[15.0]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
        <wps:Input>
            <ows:Identifier>_T2Username</ows:Identifier>
            <wps:Data>
                <wps:LiteralData>
                    <![CDATA[eboissier]]>
                </wps:LiteralData>
            </wps:Data>
        </wps:Input>
    </wps:DataInputs>
    <wps:ResponseForm>
        <wps:ResponseDocument storeExecuteResponse="true" status="true">
            <wps:Output mimeType="application/opensearchdescription+xml">
                <ows:Identifier>result_osd</ows:Identifier>
            </wps:Output>
        </wps:ResponseDocument>
    </wps:ResponseForm>
</wps:Execute>

Zoo params map dump:

[rdirienzo@0cbcb8659202 zoo-bin]$ ./zoo_loader.cgi < /Projects/work/request.xml
MAP => [master]
 * CONTENT [master]
encoding: utf-8
value: https://catalog.terradue.com/sentinel1/search?format=json&uid=S1A_IW_SLC__1SDV_20160821T051116_20160821T051143_012694_013F33_53E5
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [master]
MAP => [slave]
 * CONTENT [slave]
encoding: utf-8
value: https://catalog.terradue.com/sentinel1/search?format=json&uid=S1A_IW_SLC__1SDV_20160902T051117_20160902T051144_012869_014526_DFB4
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [slave]
MAP => [polarisation]
 * CONTENT [polarisation]
encoding: utf-8
value: VV
minOccurs: 1
maxOccurs: 1
dataType: string
AllowedValues: VV,VH,HH,HV
inRequest: true
 * CHILD [polarisation]
MAP => [orbittype]
 * CONTENT [orbittype]
encoding: utf-8
value: Sentinel Restituted (Auto Download)
minOccurs: 1
maxOccurs: 1
dataType: string
AllowedValues: Sentinel Precise (Auto Download),Sentinel Restituted (Auto Download)
inRequest: true
 * CHILD [orbittype]
MAP => [cohWinAz]
 * CONTENT [cohWinAz]
encoding: utf-8
value: 6
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [cohWinAz]
MAP => [cohWinRg]
 * CONTENT [cohWinRg]
encoding: utf-8
value: 20
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [cohWinRg]
MAP => [demtype]
 * CONTENT [demtype]
encoding: utf-8
value: SRTM 3Sec
minOccurs: 1
maxOccurs: 1
dataType: string
AllowedValues: SRTM 3Sec
inRequest: true
 * CHILD [demtype]
MAP => [performPhaseFiltering]
 * CONTENT [performPhaseFiltering]
encoding: utf-8
value: true
minOccurs: 1
maxOccurs: 1
dataType: string
AllowedValues: true,false
inRequest: true
 * CHILD [performPhaseFiltering]
MAP => [nAzLooks]
 * CONTENT [nAzLooks]
encoding: utf-8
value: 1
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [nAzLooks]
MAP => [nRgLooks]
 * CONTENT [nRgLooks]
encoding: utf-8
value: 4
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [nRgLooks]
MAP => [performPhaseUnwrapping]
 * CONTENT [performPhaseUnwrapping]
encoding: utf-8
value: true
minOccurs: 1
maxOccurs: 1
dataType: string
AllowedValues: true,false
inRequest: true
 * CHILD [performPhaseUnwrapping]
MAP => [SubsetBoundingBox]
 * CONTENT [SubsetBoundingBox]
encoding: utf-8
value:



minOccurs: 1
maxOccurs: 1
CRS: urn:ogc:def:crs:EPSG:6.6:4326
inRequest: true
 * CHILD [SubsetBoundingBox]
MAP => [pixelSpacingInMeter]
 * CONTENT [pixelSpacingInMeter]
encoding: utf-8
value: 15.0
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [pixelSpacingInMeter]
MAP => [_T2Username]
 * CONTENT [_T2Username]
encoding: utf-8
value: eboissier
minOccurs: 1
maxOccurs: 1
dataType: string
inRequest: true
 * CHILD [_T2Username]
X-Powered-By: ZOO@ZOO-Project
Content-Type: text/xml; charset=UTF-8
Status: 200 OK

Zoo cfg file:

[geohazards_tep_dcs_rss_snap_s1_insar_snap_s1_ifg_overall_1_2]
	Title = SNAP Sentinel-1 IW SLC Interferogram and Displacements
	Abstract = This service provides the interferometric processor for the Sentinel-1 TOPSAR IW data performed through SNAP. SNAP is a common architecture for all Sentinel Toolboxes, which is ideal for Earth Observation processing and analysis. WARNING: the TIFF output products will be automatically deleted after 2 weeks; this does not apply to results published on Zenodo.
	processVersion = 1.2
	storeSupported = true
	statusSupported = true
	serviceType = C
	serviceProvider = geohazards_tep_dcs_rss_snap_s1_insar_snap_s1_ifg_overall_1_2.zo
<DataInputs>
	[master]
	Title = Master product reference
	Abstract = Define the master product reference to be processed with SNAP
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[slave]
	Title = Slave product reference
	Abstract = Define the slave product reference to be processed with SNAP
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[polarisation]
	Title = Product polarisation
	Abstract = Define the product polarisation
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		AllowedValues = VV,VH,HH,HV
		<Default>
			value = VV
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[orbittype]
	Title = Orbit type
	Abstract = Define the orbit source for the Orbit Correction. NOTE: Precise orbit is available after 20 days of the data acquisition time.
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		AllowedValues = Sentinel Precise (Auto Download),Sentinel Restituted (Auto Download)
		<Default>
			value = Sentinel Restituted (Auto Download)
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[cohWinAz]
	Title = Azimuth coherence window size
	Abstract = Define the coherence estimation azimuth window size for the Interferogram processing [integer number of pixels]
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
			value = 6
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[cohWinRg]
	Title = Range coherence window size
	Abstract = Define the coherence estimation range window size for the Interferogram processing [integer number of pixels]
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
			value = 20
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[demtype]
	Title = DEM type
	Abstract = Define the DEM source for the Back-Geocoding Coregistration, Topographic Phase Removal and Terrain Correction processing. NOTE: SRTM valid in the [-56 deg,+60 deg] range of latitudes.
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		AllowedValues = SRTM 3Sec
		<Default>
			value = SRTM 3Sec
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[performPhaseFiltering]
	Title = Perform phase filtering
	Abstract = Select if the Goldstein phase filtering has to be performed
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		AllowedValues = true,false
		<Default>
			value = true
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[nAzLooks]
	Title = Azimuth Multilook factor
	Abstract = Define the multilook factor applied for Azimuth direction in the Multilooking processing [integer]
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
			value = 1
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[nRgLooks]
	Title = Range Multilook factor
	Abstract = Define the multilook factor applied for Range direction in the Multilooking processing [integer]
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
			value = 4
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[performPhaseUnwrapping]
	Title = Perform phase unwrapping
	Abstract = Select if the phase unwrapping (through SNAPHU) has to be performed
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		AllowedValues = true,false
		<Default>
			value = false
		</Default>
	</LiteralData>
</DataInputs>
<DataInputs>
	[SubsetBoundingBox]
	Title = Subset Bounding Box for Unwrapping
	Abstract = xxxxxDefine the area of interest for the Phase Unwrapping processing [lon_min,lat_min,lon_max,lat_max]. NOTE: Area is limited to 0.25*0.25 degrees around the center.
	minOccurs = 1
	maxOccurs = 1
	<BoundingBoxData>
		<Default>
			CRS = urn:ogc:def:crs:EPSG:6.6:4326
		</Default>
		<Supported>
			CRS = urn:ogc:def:crs:EPSG:6.6:4326
		<Supported>
	</BoundingBoxData>
</DataInputs>
<DataInputs>
	[pixelSpacingInMeter]
	Title = Pixel spacing in meters
	Abstract = Define the pixel spacing for the Terrain-Correction processing [meters]
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
			value = 15.0
		</Default>
	</LiteralData>
</DataInputs>

<DataInputs>
	[_T2Username]
	Title = User name
	Abstract = Valid username
	minOccurs = 1
	maxOccurs = 1
	<LiteralData>
		dataType = string
		<Default>
		</Default>
	</LiteralData>
</DataInputs>

<DataOutputs>
	[result_osd]
	Title = OpenSearch Description to the Results
	Abstract = OpenSearch Description to the Results
<ComplexOutput>
	<Default>
                MimeType = application/opensearchdescription+xml
	</Default>
	<Supported>
			MimeType = application/opensearchdescription+xml
	</Supported>
</ComplexOutput>
</DataOutputs>
1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png