Mapserver and Flex - apache-flex

Anyone know how I can integrate Flex and Mapserver in much the same way Flex and ArcServer talk?
Thanks!

Since Mapserver is WMS compliant, you should be able to use the ModestMaps or UMap libraries to display map tiles in Flex.

In JavaScript API 1.3 for ArcGIS Server there are new ways to create custom classes for map handling on your own (i.e. integrate with WMS or whatever map format you use). I suppose similar possibilities will appear in new Flex API for AGS, too – if they're not there yet.
Of course, it's option only if you want (and may, for licensing reasons) to use ArcGIS Server API.

Simple answer is yes. Each layer you put in a flex application from ArcGIS server is using Map Service url end point. There is always a wms url for the same service. What i suggest is that go replace the layer url with the WMS version from ArcGIS Server to test your FLEX application works on those layers then migrate services to MapServer.

Related

How to migrate content from Documentum WebTop to Alfresco?

I want to migrate content with metadata from Documentum WebTop to Alfresco.
Can anyone please help me with the possible ways and some basic steps if possible.
For the moment I can think about using apache chemistry open CMIS API to connect to both repository and migrate content.
But is there any other simplest way available? or is there any tool available that we can use as is with slight modifications?
Your inputs will be really helpfull.
Thanks in Advance...
The simplest way possible is to use CMIS to read from Documentum and write to Alfresco, especially if you don't already know anything about Documentum. That way you only have to learn one API.
This assumes your version of Documentum supports CMIS.
If you have a high volume of data to move you will probably end up implementing some sort of queue or streaming approach, as Miki suggests. But that still doesn't require you to write DFC code unless CMIS falls short in some area.
There are various ways.
Easiest way could be using middle layer migration app/toolkit/platform and implement DFC client for reading to middle layer from Documentum.
On the write side of your middle layer you could easily use client that could consume REST api at the Alfresco target environment.
We've done this using Kafka as a middle layer using source & sink connectors (Confluent).

HereMap for WPF desktop application

I want to use HERE Maps in a WPF application. How can I implement it? Which API and which Control should I use?Please share some basic example.
Just came across this open topic. Did you have a look for the JavaScript API? You could embed this into your application.
Further information can be sound here:
https://developer.here.com/develop/javascript-api
Besides of that you can also use the HTTPRest interfaces for map display (common tiling schema), Routing, Geocoder etc.

offline map for a web based (ASP.Net) application

I'm developing a web based application where I need to overlay some color layers over each country or city . I know that I can use Google maps but the problem I have is that the server where we're deploying the app doesn't have access to the internet .
so I need a map component like Google maps which I can use it offline , can any one suggest any component that I can use ?
You might check out openstreetmap. There you could download the planet.xml file for the whole world or specific files only for the regions you want to serve. Good material can be found also here: www.geofabrik.de
Then you will have to set up your own tileserver, which will crunch png-tiles for the xml-files provided and store all png-maps on your local harddrive.
The tileserver will probably have some web-api also. So your tileserver may run on localhost:8080 or another port, and your website runs maybe on apache on port 80.
Then you would use some web-framework to access your own tileserver. This framework would be
probably http://openlayers.org/ which can also draw shapes onto maps.
As a tileserver-location, you would add the address to your local installed tileserver. Openlayers will then receive the crunched tiles and do some stuff with it.
So, you have to at least once get some information from the internet (planet.xml) and crunch your data. But be aware that this crunching might take a long time depending on how many countries you want to serve and also these png-files will take a lot of space.
Check out openstreetmap.org how to do all this, including some numbers.
Maybe it is even possible just to download the crunched tiles from openstreetmap and put them in a specific order and fire up a tileserver pointing to these tiles. This would probably much easier.
You cannot download the Google-Maps tiles and serve them in your own tile-server, since there is a license restriction on them.
Greetings,
Jan
You're going to find that difficult because the map data alone could take up several hundred megabytes of space to store. The OS provides offline mapping within the UK which they provide free but it is limited and you'll have to manually integrate it into your site.
Having a web-based application that can't access the internet seems a bit daft to me, surely there's a way around that?

OpenLayers + Google maps in Flex, is it possible?

Recently i really was amazed by openstreet maps, and it's very possibilities to manipulate data, aswell the free of charge about many prescious things - like geocoding and the maps itself.
But i wish to still having a backup behind with google maps.
Is it possible to having both of them in Flex, and how ?
( or at least where i can look for similar project of "unification" )
It appears that OpenStreet Maps has a REST API. You can access that API in a Flex application using the HTTPService; assuming a proper crossdomain.xml file is in place.
If not; you'll have to use a proxy between your Flex app and the REST API.
MapQuest has an Open Flash API that uses OpenStreetMap data. They also offer an Open Flash Mobile API that can be used with Flash Builder to build apps for the iPhone, Android, and BlackBerry tablet with the new tools in Flex 4.5+.
Feel free to check out the documentation on the MapQuest Developer Network!

Web Based Map application development

I am trying to develop a web based map application where the user can interact with the map. But I am new to this field and do not have much idea about how to approach this. Basically I want to use a static map created by me, so I think google map API s may not be used in this case. My development platform is unix. Can you please suggest what language I should use to write the server and also what kind of free tools can be used to implement the map part?
Thanx...
I suggest reading up on the Google Maps API 3. You can add overlays or even add your own tiles using the API. Specifically, I suggest looking into the GroundLayers section of the V3 API here GroundOverlays

Resources