DFG Web Services - Web page by URL by vev19514

VIEWS: 9 PAGES: 18

									          DFG Web Services – Web page by URL



Access to the functionalities of the 1:5000 Web page by URL.


Most of the functionalities of the b5m web may be acceded to through URLs by
means of a series of parameters.

Direct access to the Web interface by means of the search for a place
name.

It is possible to accede to the b5m Web by searching for a place name through a
URL.

http://b5m.gipuzkoa.net/web5000/default.php?search=valortoponimo&lengua=v
alorlengua&actu=valoractu

The “actu” and “lengua” parameters are optional.

The values indicated in bold lettering must be substituted by real values.

Entry parameters:



 Description           Parameter            Example values

 String of the         valortoponimo        aduana 13
 place name to
 search

 Language              valorlengua          0 (Spanish)/1 (Basque)/2 (English)

 Indicate that the     valoractu            0 (by default)/1
 place name codes
 are visualised.
 These codes will
 localise the place
 name.



Example :

http://b5m.gipuzkoa.net/web5000/default.php?search=irun&lengua=1&actu=1




                   | Gipuzkoa.net | Department for the Arrangement and Territorial
        Promotion
         DFG Web Services – Web page by URL




Direct access to the Web interface by means of the localisation of a
geographical element.

It is possible to accede to the b5m Web by localising any graphical element.

http://b5m.gipuzkoa.net/url5000/index.php?id=tema_id&lengua=valorlengua&ac
tu=valoractu&categoria=valorcategoria&vis_capas=valorlistacapas&escala_fija
=valorescala



Parameters “actu”, “categoria”, “vis_capas” and “escala_fija” are optional.

The values indicated in bold lettering must be substituted by real values.

Entry parameters:



Description             Parameter            Example values

Identifier of the       tema_id              See values below
geographical
element

Language                valorlengua          0 (Spanish)/1 (Basque)/2 (English)

Indicate if codes       valoractu            0 (by default)/1
are visualised

Visualisation           valorcategoria       PUBLI/PUBLI_FOTO
scenario

Themes to               valorlistacapas      C*Actividades/s//Farmacias/s
activate/deactivate
depending on the
visualisation
scenario chosen

Scale                   valorescala          (Empty by default)/4000 (numerical)




                    | Gipuzkoa.net | Department for the Arrangement and Territorial
        Promotion
             DFG Web Services – Web page by URL


  Table of identifiers of geographical elements:




Description             Parameter                      Example values

Districts               id=S_codcomarca                id=S_3

Municipalities          id=M_codmuni                   id=M_045

Streets as a set        id=K_codmuni_codcalle          id=K_003_1110
of buildings

Streets as              id=V_codmuni_codcalle          id=V_003_1110
roadways

Districts and           id=SC_codmuni_coddistri        id=SC_045_01_003
sections

Postal addresses        id=D_idpostal                  id=D_4545

Postal addresses        id=F_codmuni_codcalle_portal   id=F_045_1110_003

Buildings               id=E_idarea                    id=E_33360

Roads and train         id=T_codcarre                  id=T_9044

Kilometric points       id=T_codcarre_pk               id=T_9044_1.4

Quarters (area          id=B_idarea                    id=B_12402
code)

Quarters (name          id=Z_idbarrio                  id=Z_13363
code)

Basins                  id=C_codcuenca                 id=C_11

City centers            id=N_codnucleo                 id=N_30145

Rivers                  id=I_idrio                     id=I_13209

Relief (area            id=O_idarea                    id=O_19171
code)

Relief (name            id=Z_idbarrio                  id=Z_13363
code)

ED50 UTM30N             id=X_x_y                       id=X_582570.5_4797178
coordinates

Geographical            id=L_lon_lat                   id=L_-
ED50                                                   1+58+53.87_43+19+22



                    | Gipuzkoa.net | Department for the Arrangement and Territorial
            Promotion
             DFG Web Services – Web page by URL


coordinates

Geographical           id=L_lon_lat_WGS84                    id=L_-
WGS84                                                        1+58+53.87_43+19+22_WGS
coordinates                                                  84

Activities             id=A_idactividad                      id=A_11933

Activities with        id=A_idactividad_idpuerta             id=A_11933_4
gateway

Grids                  id=R_cuadricula                       id=R_64-57

Caves                  id=CV_codigo                          id=CV_CE0708

Megalithic carte       id=GK_codigo                          id=GK_GARK153

Patrimony of the       id=PA_claveinmueble                   id=PA_1001751
Deputation

Municipal              id=AC_idacta                          id=AC_269
borders

Municipal              id=AC_idacta_idmojon                  id=AC_269_360
boundary mark

Digital mapping        id=Q_idlevantamiento                  id=Q_002
inventory

Digital mapping        id=Q_idlevantamento_fichero           id=Q_001_6429a1a.dwg
inventory file

Megalithic             id=EM_codigo                          id=EM_AR13019
stations

Monuments              id=CM_codigo                          id=CM_AR13301
(areas)

Public mountains       id=MP_codmonte                        id=MP_1.028.1

Public mountains       id=MP_codmonte_idmojon                id=MP_1.028.1_229
boundary mark

Tourism                id=TU_clave1_clave2_claveN            id=TU_C.1.2_D.4.1.4
Resources with
their codes

Search of              id=TU2_ct&vradio=r                    id=TU2_C.1.1&vradio=1000
tourism                &tipoactivi=tipoactivi1_tipoactivi2   &tipoactivi=T.2_T.3
resources by           _



                   | Gipuzkoa.net | Department for the Arrangement and Territorial
           Promotion
           DFG Web Services – Web page by URL


means of the         tipoactiviN
localisation of a
tourism element
with its code in a
search radius



  Example:

  http://b5m.gipuzkoa.net/url5000/index.php?id=M_045&lengua=0&actu=0&categori
  a=PUBLI



  Direct access to the web site functionalities

  Generation of an image as from the identifier of an object or a pair of
  coordinates



  It is possible to accede to the b5m Web, using the search parameters.

  http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
  URLSearch id=tema_id pixelX pixelY&save=off&service=RAWIMAGEPROVIDER
  &lengua=0&categoria=valorcategoria&vis_capas=valorlistacapas&escala_fija=v
  alorescala



  The “categoria”, “vis_capas” and “escala_fija” parameters are optional.

  The values indicated in bold lettering must be substituted by real values.




                     | Gipuzkoa.net | Department for the Arrangement and Territorial
         Promotion
          DFG Web Services – Web page by URL




Entry parameters:



Description             Parameter            Example values

Identifier of the       tema_id              ver valores indicadas arriba
geographical
element

X size of the           pixelX               800
image generated,
in pixels

Y size of the image     pixelY               500
generated, in
pixels

Visualisation           valorcategoria       PUBLI/PUBLI_FOTO
scenario

Themes to               valorlistacapas      C*Actividades/s//Farmacias/s
activate/deactivate
depending on the
visualisation
scenario chosen

Scale                   valorescala          (Empty by default)/4000 (numerical)



Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
URLSearch id=X_582570.5_4797178 729
416&save=on&service=RAWIMAGEPROVIDER&categoria=PUBLI&escala_fija=&leng
ua=0




                    | Gipuzkoa.net | Department for the Arrangement and Territorial
         Promotion
        DFG Web Services – Web page by URL




List of themes available in a given scenario




The available themes for a given scenario can be listed. Once we know the available
themes, it will then be possible to activate/deactivate them. The themes are
organised in three-branch tree: class, group and theme.       The ‘Nada’ class and
group allow us to go one level up in the tree hierarchy.



http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=li
z.preplot GCInicio 600 600
true&save=on&service=RAWTEXTPROVIDER&categoria=valorcategoria&lengua
=valorlengua



Entry parameters:



 Description         Parameter              Example values

 Visualisation       valorcategoria         PUBLI/PUBLI_FOTO
 scenario

 Language            valorlengua            0 (Spanish)/1 (Basque)/2 (English)




Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
preplot GCInicio 600 600
true&save=on&service=RAWTEXTPROVIDER&categoria=PUBLI&lengua=0




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
       Promotion
        DFG Web Services – Web page by URL




Outgoing parameters:

valorcategoria,valorclase,valorgrupo,valortema,true,valordescripciontema,
valoractivaciontema,valoractivacionclase,valoractivaciongrupo#




   Description               Parameter              Example values

   Visualisation scenario    valorcategoria         PUBLI/PUBLI_FOTO

   Class to which the        valorclase             Ortofotos
   theme belongs to
   (‘Nada’ if it does not
   belong to any class)

   Group to which the        valorgrupo             Nada
   theme belongs to
   (‘Nada’ if it does not
   belong to any class)

   Theme                     valortema              O01G_045

   Theme description         valordescripciontema   Ortofoto 1:5.000 año 2004

   Activation/deactivation   valoractivaciontema    true /false
   of the theme by default

   Activation/deactivation   valoractivacionclase   S/N
   of the class by default

   Activation/deactivation   valoractivaciongrupo   S/N
   of the group by default




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion
        DFG Web Services – Web page by URL




Activation/deactivation of the themes to be visualised


The “vis_capas” variable allows the selection of themes that it is desired to add or
take away from the themes configured by default in a given scenario. If nothing is
indicated, the themes configured by default will be visualised. Groups and classes
carry the G and C prefixes respectively, whereas maps do not carry any prefixes.



For example, in a scenario where we have:
PUBLI,Nada,Sanidad y Social,C_4_5,true,Farmacias,false,S,N#
and
PUBLI,Nada,Turismo,T_12,true,Restaurantes y asadores,false,S,N#


To activate the “Farmacias” and “Restaurantes y asadores” themes, we have to put
in:
vis_capas=C*Nada/s//G*Sanidad y Social/s//Farmacias/s//
C*Nada/s//G*Turismo/s//Restaurantes y asadores/s



In another scenario where we have:
PUBLI_FOTO,Ortofotos,Nada,O05G_80,true,Ortofoto 1:5.000 año 2005,true,S,S#
and
PUBLI_FOTO,Nada,Nada,c5000pap2,false,Series 1:5.000,false,S,S#
to activate the ortofoto 2005 (which is activated by default in the PUBLI_FOTO
scenario), and activate the 1:5000 historical paper map, we have to put in:
vis_capas=Ortofoto 1:5.000 año 2005/n//Series 1:5.000/s
To activate the Ortofoto class, we have to put in:
vis_capas=C*Ortofoto/n




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
       Promotion
          DFG Web Services – Web page by URL




Example:

Deactivating ortofoto configured by default (2005) and activating the historical
map:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
URLSearch id=X_582570.5_4797178 729
416&save=on&service=RAWIMAGEPROVIDER&categoria=PUBLI_FOTO&vis_capas=
Ortofoto 1:5.000 año 2005/n//Series 1:5.000/s&lengua=0

Deactivating ortofoto configured by default (2005) and activating another ortofoto
(2001):

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
URLSearch id=X_582570.5_4797178 729
416&save=on&service=RAWIMAGEPROVIDER&categoria=PUBLI_FOTO&vis_capas=
Ortofoto 1:5.000 año 2005/n//Ortofoto 1:5.000 año 2001/s&lengua=0




Generation of an image as from a MBR window


It is possible to generate an image from coordinates (Minimal Bounding Rectangle)
in ED50 UTM30N.

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCredibujar pixelX pixelY 10
10&save=off&service=RAWIMAGEPROVIDER&setwind=TRUE&set_x1=X1&set_x2=
X2&set_y1=Y1&set_y2=Y2&lengua=0&categoria=valorcategoria&vis_capas=
valorlistacapas&escala_fija=valorescala




                | Gipuzkoa.net | Department for the Arrangement and Territorial
       Promotion
         DFG Web Services – Web page by URL




The “categoria”, “vis_capas” and “escala_fija” parameters are optional.

The values indicated in bold lettering must be substituted by real values.

Entry parameters:




Description           Parameter             Example values

Size X of the         pixelX                800
image generated
in pixels

Size Y of the         pixelY                500
image generated
in pixels

Coordinates ED50      X1,Y1,X2,Y2           580006 4795364 586694 4798426
UTM30N of the
window

Visualisation         valorcategoria        PUBLI/PUBLI_FOTO
scenario

Themes to             valorlistacapas       C*Actividades/s//Farmacias/s
activate/deactivate
depending on the
visualisation
scenario chosen

Scale                 valorescala           (Empty by default)/4000 (numerical)



Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCredibujar 800 500 10
10&save=off&service=RAWIMAGEPROVIDER&setwind=TRUE&set_x1=580006&set_
x2=586694&set_y1=4795364&set_y2=4798426&lengua=0&categoria=PUBLI_FOT
O




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
        Promotion
        DFG Web Services – Web page by URL


Consulting a theme as from a pair of coordinates and a theme


It is possible to consult the themes indicated below from a given pair of coordinates.

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.m
ainGCQuery_Reales 10 10 10 10
tema&save=off&service=RAWTEXTPROVIDER&Window_x1=coordX&Window_y1=co
ordY&escala_fija=12000&lengua=valorlengua&actu=valoractu&tipocoord=valorc
oordenadas



The “actu” and “tipocoord” parameters are optional.

The values indicated in bold lettering must be substituted by real values.

Entry parameters:




 Description          Parameter             Example values

 Name of the          tema                  EDIFICIO, CALLE, MUNICIPIO, VIAL,
 theme to consult                           TOPONIMIA, RIO, COORDENADAS,
                                            FOTOSAEREAS, CINCOMILES,
                                            CARTOGRAFIA, URBANISMO,
                                            LEGISECTORIAL, CUADRICULA,
                                            ED50EDIF, WGS84EDIF

 Language             valorlengua           0 (Spanish)/1 (Basque)/2 (English)

 Indicate if codes    valoractu             0 (by default)/1
 are to be
 visualised

 Indicate the type    valorcoordenadas      WGS84
 of coordinates

 Coordinates in       coordX coordY         559514 4777275
 ED50 UTM30N of                             -1.986 43.309
 the point of                               -1_59_6.5 43_19_19.9
 consultation




                  | Gipuzkoa.net | Department for the Arrangement and Territorial
       Promotion
        DFG Web Services – Web page by URL




Examples:



MUNICIPALITY

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
MUNICIPIO&save=off&service=RAWTEXTPROVIDER&Window_x1=559514&Window
_y1=4777275&escala_fija=12000&lengua=0&actu=0

BUILDING

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
EDIFICIO&save=off&service=RAWTEXTPROVIDER&Window_x1=582583&Window_y
1=4797168&escala_fija=12000&lengua=0&actu=0

CALCULATES THE BUILDING WITH THE NEAREST POSTAL ADDRESS IN ED50 or
WGS84: ED50EDIF or WGS84EDIF

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
WGS84EDIF&save=off&service=RAWTEXTPROVIDER&Window_x1=-
1_59_6.5&Window_y1=43_19_19.9&escala_fija=12000&lengua=0&actu=0

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
ED50EDIF&save=off&service=RAWTEXTPROVIDER&Window_x1=559514.45&Windo
w_y1=4777275.1&escala_fija=12000&lengua=0&actu=0

We can also use the tipocoord=WGS84 parameter and put in the coordinates in
decimals:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
ED50EDIF&save=off&service=RAWTEXTPROVIDER&Window_x1=-
1.986&Window_y1=43.309&escala_fija=12000&lengua=1&actu=0&tipocoord=WGS
84




               | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion
        DFG Web Services – Web page by URL




COORDINATES IN WGS84:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
main GCQuery_Reales 10 10 10 10
COORDENADAS&save=off&service=RAWTEXTPROVIDER&Window_x1=-
1.986&Window_y1=43.309&escala_fija=12000&lengua=0&actu=0&tipocoord=WGS
84


Localisation of a geographical element


http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
URLSearch.txt tema_id&save=off&service=RAWTEXTPROVIDER
&lengua=valorlengua&actu=valoractu

The “actu” parameter is optional.

The values indicated in bold lettering must be substituted by real values.

Entry parameters:




 Description         Parameter              Example values

 Identifier of the   tema_id                See values below
 geographical
 element

 Language            valorlengua            0 (Spanish)/1 (Basque)/2 (English)

 Indicate if codes   valoractu              0 (by default)/1
 are to be
 visualised



Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
URLSearch.txt id=V_003_1112 &save=off&service=RAWTEXTPROVIDER&lengua=2




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
       Promotion
        DFG Web Services – Web page by URL




Searches that generate a XML

Search of tourism resources of indicated types in a search radius around a
tourism element.


http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
Turismo2XSearch.txt
id=TU2_valorrectb&vradio=valorradio&lengua=valorlengua&actu=valoractu&ti
poactivi=tipoactivi1_tipocativi2_tipoactiviN&save=off&service=XMLFILE&dtd=h
ttp://b5m.gipuzkoa.net/url5000/genaServerReply-1.0.dtd


The “actu” and “lengua” parameters are optional.

Entry parameters:




 Description          Parameter           Example values

 Identifier of the    valorrectb          Tourism resource code
 tourism resource
 around which the
 rest of the
 resources are
 searched

 Search radius        valorradio          Numerical value

 Language             valorlengua         0 (Spanish)/1 (Basque)/2 (English)

 Indicate if codes    valoractu           0 (by default)/1
 are to be
 visualised

 Types of tourism     tipoactivi1_        T.1 to T.23
 resources            ...
                      tipoactiviN




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion
        DFG Web Services – Web page by URL




Example:


http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
Turismo2XSearch.txt
id=TU2_C.1.1&vradio=1000&tipoactivi=T.2_T.3&save=off&service=XMLFILE&dtd=
http://b5m.gipuzkoa.net/url5000/genaServerReply-1.0.dtd


Calculation of routes between ED50 UTM30N coordinates (without taking
into account circulation restrictions).


http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
RutaXBSearch.txt%20id=RBPR_valortiporuta_XO_YO_Xi_Yi_XD_YD&save=off&
service=XMLFILE&dtd=http://b5m.guipuzkoa.net/url5000/genaServerReply-1.0.dtd



Entry parameters:




 Description          Parameter           Example values

 Type of route        valortiporuta       c (short), r (quick), p (pedestrian)

 Departure ED50       XO YO               540515 4764958
 UTM30N
 coordinates

 Destination ED50     XD YD               596932 4799372
 UTM30N
 coordinates

 Intermediate         Xi Yi               560583 4793569
 ED50 UTM30N
 coordinates




                 | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion
        DFG Web Services – Web page by URL




Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
RutaXBSearch.txt%20id=RBPR_c_540515_4764958_560583_4793569_596932_47
99372&save=off&service=XMLFILE&dtd=http://b5m.gipuzkoa.net/url5000/genaSer
verReply-1.0.dtd



Calculation of routes between tourism resources (without taking into
account circulation restrictions).

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
Turismo3XSearch.txt id=TU3_cto_cti_ctd&tiporuta=valortiporuta
&save=off&service=XMLFILE&dtd=http://b5m.gipuzkoa.net/url5000/genaServerRe
ply-1.0.dtd



Entry parameters:




 Description           Parameter           Example values

 Type of route         valortiporuta       c (short), r (quick), p (pedestrian)

 Departure             cto                 D.4.1.7
 tourism resource
 coordinates

 Destination           ctd                 C.1.2
 tourism resource
 coordinates

 Intermediate          cdi                 A.3.1.27
 tourism resource
 coordinates




                   | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion
          DFG Web Services – Web page by URL


Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
Turismo3XSearch.txt
id=TU3_D.4.1.7_C.1.2&tiporuta=c&save=off&service=XMLFILE&dtd=http://b5m.gi
puzkoa.net/url5000/genaServerReply-1.0.dtd



Extracting the “image map” of window coordinates (Minimal Bounding
Rectangle) in ED50 UTM30N.



http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
preplot GC3D pixelX pixelY xmin ymin xmax
ymax&save=off&service=XMLFILE&categoria=valorcategoria&lengua=valorleng
ua&dtd=http://b5m.gipuzkoa.net/url5000/genaServerReply-1.0.dtd



Entry parameters:




 Description          Parameter               Example values

 Window ED50          xmin   ymin      xmax   580006 4795364 586694 4798426
 UTM30N               ymax
 coordinates

 Image size in        pixelX pixelY           600 600
 pixels

 Language             valorlengua             0 (Spanish)/1 (Basque)/2 (English)

 Visualisation        valorcategoria          PUBLI/PUBLI_FOTO
 scenario



Example:

http://b5m.gipuzkoa.net/internet/GenaService?application=dfgweb&command=liz.
preplot GC3D 600 600 567922 4792393 568204
4792675&save=off&service=XMLFILE&categoria=PUBLI&lengua=0&dtd=http://b5m
.gipuzkoa.net/url5000/genaServerReply-1.0.dtd


                 | Gipuzkoa.net | Department for the Arrangement and Territorial
      Promotion

								
To top