Kusankha ndi MapServer

Pogwiritsa ntchito zokambirana za posachedwa ndi bungwe la Cadastral lomwe linali kufunafuna zomwe ziyenera kufalitsa mapu awo, apa ndikufotokozera mwachidule chinthu chofunikira kwambiri kubwezera opulumutsidwa ku mutuwu kumudzi. Mwinamwake panthawi yomwe idzathandizira munthu amene akufuna kupanga chisankho kapena kupempha thandizo la geofumed.

Bwanji MapServer

Chochitikacho chinali munthu wina, yemwe ankafuna kuti apite ndi GeoWeb Publisher, Bentley, chifukwa anali ndi chilolezo Seva Yotulukira, kholo la uyu, kumbuyo kwa zaka zapfumbi. Chifukwa china chimene iwo anali nacho chidwi ndi Bentley ndi chakuti mapu awo ali pa Microstation Geographics, ndi VBA zopempha zokonza ndi kukonza mapu a cadastral.

Poyamba pa blog (Osauka - Nthawi zambiri monga mnzanu akunenera) anasonyeza m'mene angapangire mapu a mapu, kugwiritsa ntchito zojambulidwa GIS, monga njira zina zotsika mtengo. Ndinayankhulanso tsiku lina za ubwino wa Geoweb Publisher ya Bentley ngati yankho pamene pali ndalama zambiri. Izi zikupereka kupitiriza ku malo akale omwe Ndinayerekezera pakati pa mapulogalamu osiyanasiyana pa mapu a pa intaneti.

Titatha kukambirana tinasankha kupita ku MapServer, mutu womwe ndikuyembekeza kuti ndiwugwiritse ntchito m'masiku akudza. Pogwiritsa ntchito njirayi, yambani kuyesa ma pulatifomu ena otseguka pa chaka chonse, koma pa intaneti.

mbendera MapServer si ntchito ya GIS, ndipo sichidziyesa kukhala, monga tsamba limanenera. Iyo inabadwa monga njira ya University of Minnesota, chotero chizindikiro chake chimachokera ku confluence ya mitsinje ya Minnesota ndi Mississippi. Lero ndilokutchulidwa pa intaneti yomwe inagawidwa kwambiri, mwina chifukwa cha Anglo-Saxon. Pamene ntchitoyi ilipo osiyanasiyana -kwambiri kwambiri--, Ndimakonda kuphweka kwake, kosavuta kwa ogwiritsa ntchito atsopano; matsenga onse akugwiritsira ntchito fayilo ya .map yomwe ingachititsidwe kuchokera ku mapulogalamu monga QGis kapena kumvetsa malingaliro kuti mapulogalamu azigwiritsa ntchito zinenero monga PHP, Java, Perl, Python, Ruby kapena C #.

Mapulogalamu ena apangidwa pa MapServer "anatumikira"Monga Chamaleon, Cartoweb, Ka-map ndi Pmapper. Izi zikulimbikitsidwa kwa ogwiritsa ntchito maulamuliro ochepa, ngakhale kuti ndizofunikira kumvetsetsa malingaliro oyambirira a MapServer.

maperver install

Chitsanzo chowonetsedwa ndikuti, chitsanzo chabe cha ntchito yomwe tikuchita tsopano. Ndi chilolezo chawo ndipo akudziwa kuti ntchitoyi idzapezeka kwa anthu masabata angapo ndipo adzawona ikugwira ntchito.

Ntchito zina zamakono zilipo

Pachifukwa ichi, ndigwiritsa ntchito Maziko monga zolembera OSGeo, ndi imodzi mwa njira zowonetsera zowonjezereka zokhudzana ndi kukhazikika ndi kukhazikika kwa malo otseguka m'munda wa geospatial. Ngakhale ndikuvomereza kuti pali ena.

  • Mapbender, wotchuka kwambiri, wogwiritsidwa ntchito ngati wochepa thupi pafupi ndi Mapserver pankhani ya IDE Guatemala. Chifukwa cha kukopa kwake ndikuti chinapangidwa kwa PHP ndi JavaScript, zomwe zimagwiritsidwa ntchito kwambiri pa intaneti masiku ano.
  • Wopanga mapulani, zomwe zinadza mapeto ake muzithunzi za 1.5 ndipo adagwirizanitsidwa ndi Open Layers. Chinthu cha AJAX ... chinali kukongola.
  • Tsegulani Zigawo, ndikudabwa ngati mukufuna kuphatikizana ndi Google kapena Yahoo Maps kapena kusintha chache mu polojekiti ya raster.
  • Mapguide Opensource, wotchuka kwambiri pa ubale wake ndi AutoDesk. Wokonzeka kufa, mukumwa komwe mumafuna.
  • Degree, onse omwe amasuta ndi miyezo. Ndi zambiri zomwe zingatheke ku Ulaya. Chifukwa cha kukhazikika kwawo mu thandizo la GML, zimatchulidwa kuti njira zosalowerera ndale zomwe zimagwiritsidwa ntchito pa webusaitiyi AMALIMBITSA.

maperver install Zina zothetsera makina a OSGeo ndi awa:

  • Geoserver, kuthekera kwake kwakukulu ndikuti chitukuko ndi cha Java. Ndi zambiri zomwe mungapereke monga Open Layers pamene mukuphatikiza Google Maps, Google Earth, Yahoo Maps, kuphatikizapo ArcGIS.
  • Geomatics zomwe zimaphatikizapo wochepa chithandizo, kompyuta ndi webusaiti.
  • MapuFish, ndi cholinga choyang'ana kwa Pyton koma mwina chimodzi mwazolembedwa (pa intaneti).

Mapu Mapulogalamu

Kugwirizana ndi miyezo OGC. Mwina zabwino kwambiri, ngakhale kuti pafupifupi zonsezi zogwiritsidwa ntchito moyenera zili zabwino, makamaka pa WMS, WFS, WCS, GML.

  • Mapu a Mapu a Web (OGC: WMS) 1.0.0, 1.0.7, 1.1.0 ndi 1.1.1
  • Webusaiti Yopatsa Utumiki (OGC: WFS) 1.0.0, 1.1.0
  • Webusaiti Yowonjezera Webusaiti (OGC: WCS) 1.0.0, 1.1.0
  • Chilankhulo Chojambula Chisokonezo (OGC: GML) 2.1.2, 3.1.0 Level 0 Profile
  • Mapu a pa Web Context Documents (OGC: WMC) 1.0.0, 1.1.0
  • Mndandanda wazithunzi (OGC: SLD) 1.0.0
  • Sungani Kutsindika Kulembera (OGC: FES) 1.0.0
  • Sensor Observation Service (OGC: SOS) 1.0.0
  • Zowona ndi Zomwe Zikuyendera (OGC: OM) 1.0.0
  • SWE Common (OGC: SWE) 1.0.1
  • OWS Common (OGC: OWS) 1.0.0, 1.1.0

Sungani deta kudzera muzitsogozo za Open Gis Consortium, mudzapanga pulogalamu iliyonse kwa iwo popanda chilepherero chochuluka. Kuchokera ku AutoDesk Civil3D, ArcGIS. Mapu a Bentley, mpaka gvSIG, QGis, ndi zina zotero. Ngakhale Google Earth / mapu kudzera pa wms.

Poyerekeza ndi mapulogalamu omwe ndagwira nawo kale (GeoWeb Publisher ndi Manifold GIS), MapServer amawaposa iwo kusokonezeka kwakukulu, zotsatira za tsamba lanu liri ndi zambiri zokwanira, zitsanzo zomwe zakhazikitsidwa, popanda kutchula gulu la ogwiritsa ntchito. Pankhani ya GWP muyenera kugwira ntchito zambiri ndi misomali ndi zomwe ziripo za Zowonekera mu Spanish ndizochepa -kuchoka kunja inu egeomates kotero kuti musalowe mu kutsutsana-.

El chithandizo cha deta Ndizodabwitsa. Si kumwamba koma ili pafupi mokwanira:

  • Vector kapena Geodatabase deta: Sungani mafayilo, GML, PostGIS ndi dziko lina limodzi kudzera ku OGR, kuphatikizapo DGN.
  • Deta yosavuta: Geo-referenced TIF ndi zomwe tikufuna kudzera pa GDAL.
  • Kuchokera ku chiwongoladzanja, mukhoza kupanga jpg, png, pdf komanso, OGC miyezo.

Ndiye pali thandizo la multiplatform. MapServer akhoza kuthamanga pa IIS, yomwe imawathandiza kukhala ogwiritsa ntchito Windows / PC. Komanso pa Apache, zomwe zingathamangire pa Windows ndi Linux zodabwitsa, osati kutumizira deta chabe koma kuyenda. Pankhani ya Manifol
d, buku lokha la IIS, ngati muwauza za apache imalumikiza kusokonezeka, ngakhale pali ena omwe apanga zawo pirouettes. Ndipo pa nkhani ya Bentley, Mawindo okha, kuphatikizapo kutumiza kwa intaneti ndi ActiveX yomwe imangogwira pa Internet Explorer, kupatula ngati mutasuta IDPR kupita kumalo otetezeka mu cartridridge.

Zosafunika kunena, izo sizikusamala kulipira chilolezo. Layisensi yokhala ndi Universal Manifold idzakhala mu dongosolo la $ 600, la Bentley GWPublisher kwa US $ 10,000 ndi ogwira ntchito osakwanira ndipo ngati kuchokera ku GIS Server ya US $ 15,000.

Pomalizira, ndikuwona mwayi waukulu chitukuko. Pezani munthu amene amagwira ntchito MapServer si kuti zosavuta, koma zambiri mosavuta kusiyana ndi ntchito zina, kuphatikizapo kutali monga tikuchitira tsopano. mapulogalamu A amene amadziwa guts kuti Bentley GWPublisher si choncho zovuta kupeza, ayenera kudziwa Project anzeru, Geographics, VBA ndi Microstation Bentley Map kupeza mwayi wa chitukuko wangwiro pa Bentley Geospatial Server (Ngakhale ndikuvomereza kuti pali zinthu zabwino zomwe zimachitika kumeneko). Wojambula wa GIS Wowonongeka, wovuta kwambiri ngakhale kuti ali yekha .NET, ndipo mmodzi wa GIS Server, inshuwalansi idzawombera malinga ndi kuchuluka kwa chilolezocho choyenera.

Momwe mungayikiritsire muzitsulo za 5

maperver installPalibe zochitika zambiri, komanso chiyambi cha Genesis:

  1. Tsitsani OSGEO4W kuchokera pano
  2. Ikani izo, mapu MapServer, Apache ndi chitsanzo.
  3. Ikani Apache ndikukonzekera (kapena yongolani bukhu kudzera pa IIS).
  4. Kwezani utumiki
  5. Kuthamanga chitsanzo mu msakatuli

Inde, monga genesis, pakati pa vesi 1 ndi 2 pali zinthu zambiri zomwe zinachitika pa kupanduka kwa Satana. Kawirikawiri, mungayambe utumiki kudzera mwa http: // localhost / kapena mutenge nkhondo yanu, koma mumaphunzira.

Zidzakhala mu tsiku lotsatira zomwe tidzazifotokoze.

Mayankho a 7 ku "Kusankha MapServer"

  1. Moni apa. Tsiku lina mudzatiuza za utsi womwe mudachita ndi C #, pazomwe ndawonapo zochepa pa intaneti.

    zonse

  2. Bwanji osachichita ndi chingwe chapamwamba c ndi sql seva 2008 kapena muli ndi posgrest ndikufalitsa mapu a mapangidwe anu kotero kuti muteteze mayina anu ndipo mutayang'ana seva ndi asp.net

  3. zochitika zilizonse ndi Mapguide open source ?? Ndakhala ndikuyiyika kwa kanthawi, koma pamene ndinayamba mbuye ndili ndi vuto logwirizanitsa ku seva ... phunziro lachi Spanish lidzakhala moni zothandiza kwambiri, zikomo =)

  4. Moni, ndikukondwera kwambiri ndi mapserver, zinthu zina zomwe ndakhala ndi mwayi wophatikiza palimodzi, panthawi ino ndikudzipereka kuti ndipange mapulogalamu mkati mwa mapepala, kodi muli ndi lingaliro la momwe? kapena chithandizo china chithandizo .. zikomo kwambiri

  5. Muyenera kufufuza kampani imene imapereka maofesi ndi mapepala ophatikizidwa mu utumiki.

    komanso http://www.hostgis.com/

    Kutumikira kuchokera mu intranet mlingo ndi kophweka kwambiri, chifukwa ndi IP yokha makina yomwe ili ndi ntchito (komanso 192.168.0.129) imatha kupeza kuchokera kwa makompyuta ena mkati mwa gulu lomwelo kapena gulu logwira ntchito.

    Ngati mukufuna kuthandizira pa intaneti, samalani kuti makina omwe amagwira ntchito ngati seva amakhala ndi intaneti yabwino kapena yochepa, IP IP imagwiritsidwanso ntchito (80.26.128.194). Cholinga chake ndikuti IP yomwe zida zimatengedwa ndikulumikizidwa pa intaneti, zoperekedwa ndi intaneti, ngakhale ndizapagulu, zimasintha nthawi iliyonse ikafikiridwa ndikusamalira kuti idakhazikitsidwa, pachifukwa ichi ndiyofunikira kulipira.

    Ngati simukufuna kupeza chiwerengero cha IP monga kale, mumalipira domeni ndi DNS utumiki, zomwe mungathe kukhala ndi adiresi yosavuta http://www.eldominio.com. Mutha kutumizanso ndi subdomain kapena ntchito zomwe zimapereka masamba monga http://www.no-ip.com

  6. Zikomo chifukwa cha blog yomwe ndakhala ndikuchita kwa nthawi ndithu tsopano. Ngakhale ndine katswiri wa sayansi ya zamoyo, ndimagwira ntchito pa nkhani za GIS. Chaka chatha ndinaphunzira kugwiritsa ntchito MapServer pang'ono ndipo ndi zabwino kwambiri. Koma ndili ndi funso limene sindinapeze yankho. Kodi ndi kampani iti yomwe imakhala ndi MapServer sitolo? Ndi zotsatira zotani zomwe muyenera kugwiritsa ntchito kompyuta yanu ndikugwiritsa ntchito intaneti pa intaneti?

    Ndikufuna kuchita zina pulojekitiyi koma ndilibenso njira yowonjezera pa intaneti.

    Ngati wina akudziwa yankho lake lilandiridwa bwino.

    Zabwino,

    Martiño

Siyani yankho

Anu email sati lofalitsidwa.

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.